summaryrefslogtreecommitdiffstats
path: root/packaging/macosx/ScriptExec
diff options
context:
space:
mode:
authormjwybrow <mjwybrow@users.sourceforge.net>2007-02-05 01:49:09 +0000
committermjwybrow <mjwybrow@users.sourceforge.net>2007-02-05 01:49:09 +0000
commitb58902ee1b06c67b5350839a5b87d989d80c40f7 (patch)
tree58fa6ac0585b7281e8798c0130f20de45d55353f /packaging/macosx/ScriptExec
parent* packaging/macosx/ScriptExec/main.c, packaging/macosx/Resources/script: (diff)
downloadinkscape-b58902ee1b06c67b5350839a5b87d989d80c40f7.tar.gz
inkscape-b58902ee1b06c67b5350839a5b87d989d80c40f7.zip
* packaging/macosx/ScriptExec/main.c: Make sure the OS X application
launcher exits when Inkscape itself is closed the first time it is run. (bzr r2330)
Diffstat (limited to 'packaging/macosx/ScriptExec')
-rw-r--r--packaging/macosx/ScriptExec/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/macosx/ScriptExec/main.c b/packaging/macosx/ScriptExec/main.c
index c4b30b3b3..c3e14a0a1 100644
--- a/packaging/macosx/ScriptExec/main.c
+++ b/packaging/macosx/ScriptExec/main.c
@@ -217,8 +217,9 @@ static OSStatus FCCacheFailedHandler(EventHandlerCallRef theHandlerCall,
"touch \"$HOME/.inkscape/.fccache-new\"");
// Rerun now.
OSErr err = ExecuteScript(scriptPath, &pid);
+ ExitToShell();
- return err;
+ return noErr;
}