From cb9eddf62ade56b3bc546b87d72ffc4c57b7618d Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 8 Mar 2005 13:18:21 +0000 Subject: log program exiting --- perl-install/ugtk2.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'perl-install/ugtk2.pm') diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index 57f54acf8..8096f2b75 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -883,7 +883,12 @@ sub shrink_topwindow { sub exit { gtkset_mousecursor_normal(); #- for restoring a normal in any case flush(); - c::_exit($_[1]); #- workaround + if ($::isStandalone) { + require standalone; + standalone::__exit($_[1]); #- workaround + } else { + c::_exit($_[1]); #- workaround + } } #- in case "exit" above was not called by the program -- cgit v1.2.1