summaryrefslogtreecommitdiffstats
path: root/perl-install/my_gtk.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/my_gtk.pm')
-rw-r--r--perl-install/my_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm
index 7a21e168d..dcd11e130 100644
--- a/perl-install/my_gtk.pm
+++ b/perl-install/my_gtk.pm
@@ -31,7 +31,7 @@ sub new {
Gtk->init;
my $o = bless { %opts }, $type;
$o->_create_window($title);
- while (my $e = shift @tempory::objects) { $e->DESTROY }
+ while (my $e = shift @tempory::objects) { $e->destroy }
push @interactive::objects, $o unless $opts{no_interactive_objects};
top(@grabbed)->grab_remove if @grabbed;