summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk3.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2012-08-01 18:26:54 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 21:28:33 +0100
commit64b9097f5cdb64ac0018bd4390b6da4b4246cb01 (patch)
treeca2541391c8df1f5461f01c80db8d57fa9911b49 /perl-install/mygtk3.pm
parentabcb9996d91012d3454736cd6363f5db3e0e82c7 (diff)
downloaddrakx-64b9097f5cdb64ac0018bd4390b6da4b4246cb01.tar
drakx-64b9097f5cdb64ac0018bd4390b6da4b4246cb01.tar.gz
drakx-64b9097f5cdb64ac0018bd4390b6da4b4246cb01.tar.bz2
drakx-64b9097f5cdb64ac0018bd4390b6da4b4246cb01.tar.xz
drakx-64b9097f5cdb64ac0018bd4390b6da4b4246cb01.zip
perlish can_default() is no more: use set_/get_can_default() instead
Diffstat (limited to 'perl-install/mygtk3.pm')
-rw-r--r--perl-install/mygtk3.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mygtk3.pm b/perl-install/mygtk3.pm
index e324513b4..59349c41e 100644
--- a/perl-install/mygtk3.pm
+++ b/perl-install/mygtk3.pm
@@ -114,7 +114,7 @@ sub _gtk {
}
$w->set_name(delete $opts->{widget_name}) if exists $opts->{widget_name};
$w->can_focus(delete $opts->{can_focus}) if exists $opts->{can_focus};
- $w->can_default(delete $opts->{can_default}) if exists $opts->{can_default};
+ $w->set_can_default(delete $opts->{can_default}) if exists $opts->{can_default};
$w->grab_focus if delete $opts->{grab_focus};
$w->set_padding(@{delete $opts->{padding}}) if exists $opts->{padding};
$w->set_sensitive(delete $opts->{sensitive}) if exists $opts->{sensitive};