From c427309710ec8c1a81ab3b4194bb0d70969dcb7f Mon Sep 17 00:00:00 2001 From: Kevin Walzer Date: Sat, 21 Mar 2015 02:34:54 +0000 Subject: Remove duplicate call to safeSetMainMenu --- macosx/tkMacOSXMenu.c | 7 ------- 1 file changed, 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 -- cgit v0.12