diff options
author | kevin_walzer <kevin_walzer@noemail.net> | 2015-03-21 02:34:54 (GMT) |
---|---|---|
committer | kevin_walzer <kevin_walzer@noemail.net> | 2015-03-21 02:34:54 (GMT) |
commit | 686dee7c1d223614516047b301426e2426111f36 (patch) | |
tree | e1db9bbdbc0330c689c37dfacde39711119a6a59 /macosx | |
parent | f4a8382b56bc32cdffb38f70c8dd14f488424d4d (diff) | |
download | tk-686dee7c1d223614516047b301426e2426111f36.zip tk-686dee7c1d223614516047b301426e2426111f36.tar.gz tk-686dee7c1d223614516047b301426e2426111f36.tar.bz2 |
Remove duplicate call to safeSetMainMenu
FossilOrigin-Name: c1e71b9e2e498a731b5837e4b3965253294413a0
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 |