summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXMenu.c
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2015-03-21 02:34:54 (GMT)
committerKevin Walzer <kw@codebykevin.com>2015-03-21 02:34:54 (GMT)
commitdd308b3850e1bff0ee3fecbb87bdf6f386337e41 (patch)
treee1db9bbdbc0330c689c37dfacde39711119a6a59 /macosx/tkMacOSXMenu.c
parent089db0f16e46cf86e81c5357122632031b942b09 (diff)
downloadtk-dd308b3850e1bff0ee3fecbb87bdf6f386337e41.zip
tk-dd308b3850e1bff0ee3fecbb87bdf6f386337e41.tar.gz
tk-dd308b3850e1bff0ee3fecbb87bdf6f386337e41.tar.bz2
Remove duplicate call to safeSetMainMenu
Diffstat (limited to 'macosx/tkMacOSXMenu.c')
-rw-r--r--macosx/tkMacOSXMenu.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/macosx/tkMacOSXMenu.c b/macosx/tkMacOSXMenu.c
index 49d1872..c3121cb 100644
--- a/macosx/tkMacOSXMenu.c
+++ b/macosx/tkMacOSXMenu.c
@@ -384,13 +384,6 @@ static int ModifierCharWidth(Tk_Font tkfont);
[pool drain];
}
-- (void) safeSetMainMenu: (NSMenu *) menu
-{
- NSAutoreleasePool* pool = [NSAutoreleasePool new];
- [self setMainMenu: menu];
- [pool drain];
-}
-
- (void) menuBeginTracking: (NSNotification *) notification
{
#ifdef TK_MAC_DEBUG_NOTIFICATIONS