diff options
author | culler <culler@noemail.net> | 2017-11-25 05:08:18 (GMT) |
---|---|---|
committer | culler <culler@noemail.net> | 2017-11-25 05:08:18 (GMT) |
commit | f2216cd96c547e6f3fbc6fc0b2f83e9073fe1e30 (patch) | |
tree | 94b8477858ab44c719ff91fb24d083ed10dab76b | |
parent | 9b1987294a186e5cc527abfd04185d4857aa7b3f (diff) | |
download | tk-f2216cd96c547e6f3fbc6fc0b2f83e9073fe1e30.zip tk-f2216cd96c547e6f3fbc6fc0b2f83e9073fe1e30.tar.gz tk-f2216cd96c547e6f3fbc6fc0b2f83e9073fe1e30.tar.bz2 |
Removed a function which is never called in the current version.
FossilOrigin-Name: fc16f8a9e2d18d66a2991b2a63d9c0f50aeb776329acc01c43e8fea6ad58ee4e
-rw-r--r-- | macosx/tkMacOSXInit.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/macosx/tkMacOSXInit.c b/macosx/tkMacOSXInit.c index c695ca8..5c8c0b7 100644 --- a/macosx/tkMacOSXInit.c +++ b/macosx/tkMacOSXInit.c @@ -236,38 +236,6 @@ static void keyboardChanged(CFNotificationCenterRef center, void *observer, CFSt /* *---------------------------------------------------------------------- * - * SetApplicationIcon -- - * - * Idle handler that sets the application icon to the generic Tk icon. - * - * Results: - * None. - * - * Side effects: - * None. - * - *---------------------------------------------------------------------- - */ - -static void -SetApplicationIcon( - ClientData clientData) -{ - NSAutoreleasePool *pool = [NSAutoreleasePool new]; - NSString *path = [NSApp tkFrameworkImagePath:@"Tk.icns"]; - if (path) { - NSImage *image = [[NSImage alloc] initWithContentsOfFile:path]; - if (image) { - [NSApp setApplicationIconImage:image]; - [image release]; - } - } - [pool drain]; -} - -/* - *---------------------------------------------------------------------- - * * TkpInit -- * * Performs Mac-specific interpreter initialization related to the |