summaryrefslogtreecommitdiffstats
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)
commitc427309710ec8c1a81ab3b4194bb0d70969dcb7f (patch)
treef5efd22e53b2658b2b17d7e81e3d434b6cc97ef8
parent1bb54c199d373865b9a359769420ebd6b3455045 (diff)
downloadtk-c427309710ec8c1a81ab3b4194bb0d70969dcb7f.zip
tk-c427309710ec8c1a81ab3b4194bb0d70969dcb7f.tar.gz
tk-c427309710ec8c1a81ab3b4194bb0d70969dcb7f.tar.bz2
Remove duplicate call to safeSetMainMenu
-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