From b58902ee1b06c67b5350839a5b87d989d80c40f7 Mon Sep 17 00:00:00 2001 From: mjwybrow Date: Mon, 5 Feb 2007 01:49:09 +0000 Subject: * 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) --- packaging/macosx/ScriptExec/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packaging/macosx/ScriptExec') 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; } -- cgit v1.2.3