summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-11-09 17:39:02 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-11-09 17:39:02 +0000
commit9b554e8541426af3c0221ae977317d07ea3d3f59 (patch)
tree06bcff0f10d2706b219eea76d632622253f787af /perl-install
parent02b57b61aafd29a78023e242a0cf998cd93a91ee (diff)
downloaddrakx-9b554e8541426af3c0221ae977317d07ea3d3f59.tar
drakx-9b554e8541426af3c0221ae977317d07ea3d3f59.tar.gz
drakx-9b554e8541426af3c0221ae977317d07ea3d3f59.tar.bz2
drakx-9b554e8541426af3c0221ae977317d07ea3d3f59.tar.xz
drakx-9b554e8541426af3c0221ae977317d07ea3d3f59.zip
*** empty log message ***
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/interactive_gtk.pm2
-rw-r--r--perl-install/my_gtk.pm1
2 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/interactive_gtk.pm b/perl-install/interactive_gtk.pm
index 34e08d62f..d4978a026 100644
--- a/perl-install/interactive_gtk.pm
+++ b/perl-install/interactive_gtk.pm
@@ -225,6 +225,8 @@ sub wait_message_endW {
sub kill {
my ($o) = @_;
$o->{before_killing} ||= 0;
+
+ while (my $e = shift @tempory::objects) { $e->DESTROY }
while (@interactive::objects > $o->{before_killing}) {
my $w = pop @interactive::objects;
$w->destroy;
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm
index 29de8a794..7a21e168d 100644
--- a/perl-install/my_gtk.pm
+++ b/perl-install/my_gtk.pm
@@ -31,6 +31,7 @@ sub new {
Gtk->init;
my $o = bless { %opts }, $type;
$o->_create_window($title);
+ while (my $e = shift @tempory::objects) { $e->DESTROY }
push @interactive::objects, $o unless $opts{no_interactive_objects};
top(@grabbed)->grab_remove if @grabbed;