diff options
author | Kevin Walzer <kw@codebykevin.com> | 2015-03-21 02:34:54 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2015-03-21 02:34:54 (GMT) |
commit | c427309710ec8c1a81ab3b4194bb0d70969dcb7f (patch) | |
tree | f5efd22e53b2658b2b17d7e81e3d434b6cc97ef8 /macosx | |
parent | 1bb54c199d373865b9a359769420ebd6b3455045 (diff) | |
download | tk-c427309710ec8c1a81ab3b4194bb0d70969dcb7f.zip tk-c427309710ec8c1a81ab3b4194bb0d70969dcb7f.tar.gz tk-c427309710ec8c1a81ab3b4194bb0d70969dcb7f.tar.bz2 |
Remove duplicate call to safeSetMainMenu
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXMenu.c | 7 |
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 |