diff --git a/Source/GSToolbarView.m b/Source/GSToolbarView.m index 4dab4506e..f9fbcd5a9 100644 --- a/Source/GSToolbarView.m +++ b/Source/GSToolbarView.m @@ -3,7 +3,7 @@ The toolbar view class. - Copyright (C) 2004 Free Software Foundation, Inc. + Copyright (C) 2004-2015 Free Software Foundation, Inc. Author: Quentin Mathe Date: January 2004 @@ -72,6 +72,8 @@ static NSInteger draggedItemIndex = NSNotFound; * Toolbar related code */ +// Testplant-MAL-2015-06-26: Main branch merge... +// Keeping this testplant fix for GSToolBarButton... @interface GSToolbarButton : NSButton - (NSToolbarItem *) toolbarItem; @end @@ -891,7 +893,7 @@ static NSInteger draggedItemIndex = NSNotFound; - (NSMenu *) menuForEvent: (NSEvent *)event { NSMenu *menu = [[[NSMenu alloc] initWithTitle: @""] autorelease]; - NSMenuItem *customize = [menu insertItemWithTitle: _(@"Customize Toolbar") action:@selector(runCustomizationPalette:) keyEquivalent:@"" atIndex:0]; + id customize = [menu insertItemWithTitle: _(@"Customize Toolbar") action:@selector(runCustomizationPalette:) keyEquivalent:@"" atIndex:0]; [customize setTarget: _toolbar]; return menu; }