summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/mygtk3.pm2
-rwxr-xr-xperl-install/standalone/draksec2
-rw-r--r--perl-install/ugtk3.pm2
3 files changed, 3 insertions, 3 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};
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec
index 6a262bc2b..c65e69a76 100755
--- a/perl-install/standalone/draksec
+++ b/perl-install/standalone/draksec
@@ -249,7 +249,7 @@ gtkpack_($vbox,
),
);
-$oc->{cancel}->can_default(1);
+$oc->{cancel}->set_can_default(1);
$oc->{cancel}->grab_default;
$w->main;
diff --git a/perl-install/ugtk3.pm b/perl-install/ugtk3.pm
index d9c2b783c..a19356490 100644
--- a/perl-install/ugtk3.pm
+++ b/perl-install/ugtk3.pm
@@ -558,7 +558,7 @@ sub create_okcancel {
gtknew('HButtonBox', spacing => 5, layout => $_->[1],
children_loose => [
map {
- $_->can_default($::isWizard);
+ $_->set_can_default($::isWizard);
$_;
} grep { $_ } @{$_->[0]}
]);