summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-03-08 13:18:21 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-03-08 13:18:21 +0000
commitcb9eddf62ade56b3bc546b87d72ffc4c57b7618d (patch)
treedb7cb579fc489d5df11b7a17d5885d9433638195 /perl-install/ugtk2.pm
parent77e8f709f6b7f2c11d5f1d3cca6951792b961021 (diff)
downloaddrakx-backup-do-not-use-cb9eddf62ade56b3bc546b87d72ffc4c57b7618d.tar
drakx-backup-do-not-use-cb9eddf62ade56b3bc546b87d72ffc4c57b7618d.tar.gz
drakx-backup-do-not-use-cb9eddf62ade56b3bc546b87d72ffc4c57b7618d.tar.bz2
drakx-backup-do-not-use-cb9eddf62ade56b3bc546b87d72ffc4c57b7618d.tar.xz
drakx-backup-do-not-use-cb9eddf62ade56b3bc546b87d72ffc4c57b7618d.zip
log program exiting
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm7
1 files changed, 6 insertions, 1 deletions
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