summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-01-11 11:03:28 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-01-11 11:03:28 +0000
commitc6364f6d73340136f687a7fed734b0ddf8537956 (patch)
treec3cd905da5135fa25ef2f2f31720e3ba6abdc724 /perl-install/ugtk2.pm
parent9d17f782dd5a2ebb44299647be8ad8c4dec074b2 (diff)
downloaddrakx-backup-do-not-use-c6364f6d73340136f687a7fed734b0ddf8537956.tar
drakx-backup-do-not-use-c6364f6d73340136f687a7fed734b0ddf8537956.tar.gz
drakx-backup-do-not-use-c6364f6d73340136f687a7fed734b0ddf8537956.tar.bz2
drakx-backup-do-not-use-c6364f6d73340136f687a7fed734b0ddf8537956.tar.xz
drakx-backup-do-not-use-c6364f6d73340136f687a7fed734b0ddf8537956.zip
simplify (no need to protect against double destroy anymore)
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 927c02dc4..8537b1cfa 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -907,7 +907,7 @@ sub show($) {
}
sub destroy($) {
my ($o) = @_;
- $o->{rwindow}->destroy if !$o->{destroyed};
+ $o->{rwindow}->destroy;
flush();
}
sub DESTROY { goto &destroy }