From c6364f6d73340136f687a7fed734b0ddf8537956 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 11 Jan 2005 11:03:28 +0000 Subject: simplify (no need to protect against double destroy anymore) --- perl-install/ugtk2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.1