summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-21 12:02:53 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-21 12:02:53 +0000
commitb558c1d17e0afe2daf827b561cc6f571f116cd84 (patch)
treee3df817bbb8181f65d00558e8015a70d560e508c
parentbe60bc7f5b20bb601f734e39b8ca959cea847f1a (diff)
downloaddrakx-b558c1d17e0afe2daf827b561cc6f571f116cd84.tar
drakx-b558c1d17e0afe2daf827b561cc6f571f116cd84.tar.gz
drakx-b558c1d17e0afe2daf827b561cc6f571f116cd84.tar.bz2
drakx-b558c1d17e0afe2daf827b561cc6f571f116cd84.tar.xz
drakx-b558c1d17e0afe2daf827b561cc6f571f116cd84.zip
- the ugly trick on destroy doesn't work for wait_message's
- fortunately the END calling exit seems to be enough in most cases
-rw-r--r--perl-install/my_gtk.pm7
1 files changed, 0 insertions, 7 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm
index 17466149a..1118d756a 100644
--- a/perl-install/my_gtk.pm
+++ b/perl-install/my_gtk.pm
@@ -125,13 +125,6 @@ sub show($) {
}
sub destroy($) {
my ($o) = @_;
- return if $^S & 4;
- #- program is going to leave
- #- don't do anything, especially don't set the waiting mouse cursor
- #- another thing is that calling flush() at this moment causes segfault
- #- so don't do it and no more segfault :)
- #- (now, if someone finds out what this 4 is about... but you cares, it works :)
-
$o->{rwindow} and $o->{rwindow}->destroy;
gtkset_mousecursor_wait();
flush();