summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk3.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-02-10 19:45:14 +0000
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 21:28:34 +0100
commit49671c053c9f4f8c9d7bf9f02e60ab7491a2fcc9 (patch)
treec3f2b15a60b48f865657edd1cb0a214c8b1a3bd1 /perl-install/mygtk3.pm
parent7b90281fb2e73c5e70488b35312c2faa51f2d9ce (diff)
downloaddrakx-49671c053c9f4f8c9d7bf9f02e60ab7491a2fcc9.tar
drakx-49671c053c9f4f8c9d7bf9f02e60ab7491a2fcc9.tar.gz
drakx-49671c053c9f4f8c9d7bf9f02e60ab7491a2fcc9.tar.bz2
drakx-49671c053c9f4f8c9d7bf9f02e60ab7491a2fcc9.tar.xz
drakx-49671c053c9f4f8c9d7bf9f02e60ab7491a2fcc9.zip
s/can_focus()/set_can_focus()/
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 9f5b68d1a..173f0519b 100644
--- a/perl-install/mygtk3.pm
+++ b/perl-install/mygtk3.pm
@@ -113,7 +113,7 @@ sub _gtk {
$w->move($position->[0], $position->[1]);
}
$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->set_can_focus(delete $opts->{can_focus}) if exists $opts->{can_focus};
$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};