summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive_gtk.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/interactive_gtk.pm')
-rw-r--r--perl-install/interactive_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive_gtk.pm b/perl-install/interactive_gtk.pm
index d4978a026..40b97be7c 100644
--- a/perl-install/interactive_gtk.pm
+++ b/perl-install/interactive_gtk.pm
@@ -226,7 +226,7 @@ sub kill {
my ($o) = @_;
$o->{before_killing} ||= 0;
- while (my $e = shift @tempory::objects) { $e->DESTROY }
+ while (my $e = shift @tempory::objects) { $e->destroy }
while (@interactive::objects > $o->{before_killing}) {
my $w = pop @interactive::objects;
$w->destroy;