diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-11-27 11:12:01 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-11-27 11:12:01 (GMT) |
commit | c7c7d22777da93312e8351f289c0eae3253889c7 (patch) | |
tree | 0c6af3e83a24e865135704b4e3aaf230c769b3de /macosx/tkMacOSXInit.c | |
parent | 1a9ed03cff3ca2e3ce2fba690a478d0651c55d12 (diff) | |
download | tk-c7c7d22777da93312e8351f289c0eae3253889c7.zip tk-c7c7d22777da93312e8351f289c0eae3253889c7.tar.gz tk-c7c7d22777da93312e8351f289c0eae3253889c7.tar.bz2 |
tkWinDialog.c: Change a LoadLibrary() call to GetModuleHandle(), since "shell32.dll" is already linked to Tk.
Also various whitespace changes (mainly at line-ends) and comment fixes. Nothing functional.
Diffstat (limited to 'macosx/tkMacOSXInit.c')
-rw-r--r-- | macosx/tkMacOSXInit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/macosx/tkMacOSXInit.c b/macosx/tkMacOSXInit.c index 7b91f97..b38036c 100644 --- a/macosx/tkMacOSXInit.c +++ b/macosx/tkMacOSXInit.c @@ -129,7 +129,7 @@ static void keyboardChanged(CFNotificationCenterRef center, void *observer, CFSt */ _defaultMainMenu = nil; [self _setupMenus]; - + /* * Set the application icon. This is unnecessary when running Wish.app * but it is easier than testing for that situation to just do it. @@ -167,7 +167,7 @@ static void keyboardChanged(CFNotificationCenterRef center, void *observer, CFSt - (void) _setup: (Tcl_Interp *) interp { - /* + /* * Remember our interpreter. */ _eventInterp = interp; @@ -304,7 +304,7 @@ TkpInit( TkMacOSXDbgMsg("Tcl_MacOSXOpenVersionedBundleResources failed"); } #endif - + /* * FIXME: Close stdin & stdout for remote debugging otherwise we will * fight with gdb for stdin & stdout @@ -319,7 +319,7 @@ TkpInit( * Instantiate our NSApplication object. This needs to be * done before we check whether to open a console window. */ - + NSAutoreleasePool *pool = [NSAutoreleasePool new]; [[NSUserDefaults standardUserDefaults] registerDefaults: [NSDictionary dictionaryWithObjectsAndKeys: |