diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-01-11 11:03:28 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-01-11 11:03:28 +0000 |
commit | c6364f6d73340136f687a7fed734b0ddf8537956 (patch) | |
tree | c3cd905da5135fa25ef2f2f31720e3ba6abdc724 | |
parent | 9d17f782dd5a2ebb44299647be8ad8c4dec074b2 (diff) | |
download | drakx-c6364f6d73340136f687a7fed734b0ddf8537956.tar drakx-c6364f6d73340136f687a7fed734b0ddf8537956.tar.gz drakx-c6364f6d73340136f687a7fed734b0ddf8537956.tar.bz2 drakx-c6364f6d73340136f687a7fed734b0ddf8537956.tar.xz drakx-c6364f6d73340136f687a7fed734b0ddf8537956.zip |
simplify (no need to protect against double destroy anymore)
-rw-r--r-- | perl-install/ugtk2.pm | 2 |
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 } |