summaryrefslogtreecommitdiffstats
path: root/packaging/macosx/ScriptExec
diff options
context:
space:
mode:
authorsu_v <suv-sf@users.sourceforge.net>2014-08-20 02:43:31 +0000
committer~suv <suv-sf@users.sourceforge.net>2014-08-20 02:43:31 +0000
commit1cabe7fe34f3012599169d8c112db4393d5d929d (patch)
tree934e17fdf24d5b1bf0cb6da2e2c67c5f54bf779a /packaging/macosx/ScriptExec
parentfontconfig: fix copying of conf.avail; disable bitmap fonts (see bug #714859) (diff)
downloadinkscape-1cabe7fe34f3012599169d8c112db4393d5d929d.tar.gz
inkscape-1cabe7fe34f3012599169d8c112db4393d5d929d.zip
ScriptExec: cleanup (remove defined but not used function)
(bzr r13506.1.16)
Diffstat (limited to 'packaging/macosx/ScriptExec')
-rw-r--r--packaging/macosx/ScriptExec/main.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/packaging/macosx/ScriptExec/main.c b/packaging/macosx/ScriptExec/main.c
index c9c6ffaa8..0e4efd4e8 100644
--- a/packaging/macosx/ScriptExec/main.c
+++ b/packaging/macosx/ScriptExec/main.c
@@ -542,29 +542,6 @@ static OSErr AppOpenAppAEHandler(const AppleEvent *theAppleEvent,
}
-static void OpenURL(Str255 url)
-{
- // Use Internet Config to hand the URL to the appropriate application, as
- // set by the user in the Internet Preferences pane.
- ICInstance icInstance;
- // Applications creator code:
- OSType signature = 'Inks';
- OSStatus error = ICStart( &icInstance, signature );
- if ( error == noErr )
- {
- ConstStr255Param hint = 0x0;
- const char* data = url;
- long length = strlen(url);
- long start = 0;
- long end = length;
- // Don't bother testing return value (error); launched application will
- // report problems.
- ICLaunchURL( icInstance, hint, data, length, &start, &end );
- ICStop( icInstance );
- }
-}
-
-
// Compile and run a small AppleScript. The code below does no cleanup and no proper error checks
// but since it's there until the app is shut down, and since we know the script is okay,
// there should not be any problems.