summaryrefslogtreecommitdiffstats
path: root/perl-install/security/main.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/security/main.pm')
-rw-r--r--perl-install/security/main.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/security/main.pm b/perl-install/security/main.pm
index d7ae8e3f2..c316ba0a2 100644
--- a/perl-install/security/main.pm
+++ b/perl-install/security/main.pm
@@ -13,7 +13,7 @@ sub myexit { my_gtk::exit @_ }
sub wait_msg {
my $mainw = my_gtk->new('wait');
my $label = new Gtk::Label($_[0]);
- gtkadd($mainw->{window}, gtkpack(gtkadd(create_vbox(), $label)));
+ $mainw->{window}->add(gtkpack(gtkadd(create_vbox(), $label)));
$label->signal_connect(expose_event => sub { $mainw->{displayed} = 1 });
$mainw->sync until $mainw->{displayed};
gtkset_mousecursor_wait($mainw->{rwindow}->window);