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 | dd308b3850e1bff0ee3fecbb87bdf6f386337e41 (patch) | |
tree | e1db9bbdbc0330c689c37dfacde39711119a6a59 | |
parent | 089db0f16e46cf86e81c5357122632031b942b09 (diff) | |
download | tk-dd308b3850e1bff0ee3fecbb87bdf6f386337e41.zip tk-dd308b3850e1bff0ee3fecbb87bdf6f386337e41.tar.gz tk-dd308b3850e1bff0ee3fecbb87bdf6f386337e41.tar.bz2 |
Remove duplicate call to safeSetMainMenu
-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 |