summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-14 11:31:12 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-14 11:31:12 (GMT)
commitac965ab71c64ec6afd00fe16118f10c6b73aac5c (patch)
treeb30ebd939b33c94f98bc9219ce7eb874143a70e7 /macosx
parentb720e718067b09d7c071963489542b1249dce9ca (diff)
downloadtk-ac965ab71c64ec6afd00fe16118f10c6b73aac5c.zip
tk-ac965ab71c64ec6afd00fe16118f10c6b73aac5c.tar.gz
tk-ac965ab71c64ec6afd00fe16118f10c6b73aac5c.tar.bz2
Remove unused include/variables
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXInit.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/macosx/tkMacOSXInit.c b/macosx/tkMacOSXInit.c
index bd6ca7d..d063745 100644
--- a/macosx/tkMacOSXInit.c
+++ b/macosx/tkMacOSXInit.c
@@ -17,7 +17,6 @@
#include <dlfcn.h>
#include <objc/objc-auto.h>
#include <sys/stat.h>
-#import <Security/SecStaticCode.h>
static char tkLibPath[PATH_MAX + 1] = "";
@@ -95,14 +94,10 @@ static int TkMacOSXGetAppPathCmd(ClientData cd, Tcl_Interp *ip,
-(void)applicationWillFinishLaunching:(NSNotification *)aNotification
{
(void)aNotification;
- CFURLRef mainBundleURL;
- OSStatus errorCode;
- SecStaticCodeRef staticCode = nil;
/*
* Initialize notifications.
*/
-
#ifdef TK_MAC_DEBUG_NOTIFICATIONS
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(_postedNotification:) name:nil object:nil];
@@ -124,7 +119,6 @@ static int TkMacOSXGetAppPathCmd(ClientData cd, Tcl_Interp *ip,
/*
* Initialize the graphics context.
*/
-
TkMacOSXUseAntialiasedText(_eventInterp, -1);
TkMacOSXInitCGDrawing(_eventInterp, TRUE, 0);