diff options
author | Kevin Walzer <kw@codebykevin.com> | 2017-12-05 03:46:04 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2017-12-05 03:46:04 (GMT) |
commit | bf99dc878386c11ea23ce74bd2ef46acf6108ec8 (patch) | |
tree | b7c434e0eaff607b491537b56720eb8aa167ed42 /macosx/tkMacOSXInit.c | |
parent | a64ae86f6029055d474238834a6acb636e7ad47c (diff) | |
download | tk-bf99dc878386c11ea23ce74bd2ef46acf6108ec8.zip tk-bf99dc878386c11ea23ce74bd2ef46acf6108ec8.tar.gz tk-bf99dc878386c11ea23ce74bd2ef46acf6108ec8.tar.bz2 |
Remove unnecessary calls to set application icon in bundled apps on macOS, prevents custom icon from displaying
Diffstat (limited to 'macosx/tkMacOSXInit.c')
-rw-r--r-- | macosx/tkMacOSXInit.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/macosx/tkMacOSXInit.c b/macosx/tkMacOSXInit.c index bd0b872..e1436b2 100644 --- a/macosx/tkMacOSXInit.c +++ b/macosx/tkMacOSXInit.c @@ -116,18 +116,6 @@ long tkMacOSXMacOSXVersion = 0; _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. - */ - NSString *path = [NSApp tkFrameworkImagePath:@"Tk.icns"]; - if (path) { - NSImage *image = [[NSImage alloc] initWithContentsOfFile:path]; - if (image) { - [NSApp setApplicationIconImage:image]; - [image release]; - } - } /* * Initialize event processing. |