summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools
diff options
context:
space:
mode:
authorGravatarGravatar Vas Crabb <vas@vastheman.com>2019-11-18 06:05:09 +1100
committerGravatarGravatar Vas Crabb <vas@vastheman.com>2019-11-18 06:05:21 +1100
commite4e047f1adb4ecfac8c23a2c33d2f56e7a770512 (patch)
treea9b4ee1f6a7572037ad26cfec439581e8f3e100e /src/tools
parentb662a173bd91edac0419490498bcd2ce1ab0793d (diff)
mac: fix copy/paste error, get rid of allocWithZone as it's ignored on 64-bit ABI (nw)
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/aueffectutil.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/aueffectutil.mm b/src/tools/aueffectutil.mm
index ccc090d0fa8..d232c735db3 100644
--- a/src/tools/aueffectutil.mm
+++ b/src/tools/aueffectutil.mm
@@ -772,7 +772,7 @@ static void UpdateChangeCountCallback(
NSMenu *submenu;
NSString *const appName = [(NSDictionary *)CFBundleGetInfoDictionary(CFBundleGetMainBundle()) objectForKey:@"CFBundleName"];
- NSMenu *const menu = [[NSMenu allocWithZone:[NSMenu zone]] initWithTitle:@"Application"];
+ NSMenu *const menu = [[NSMenu alloc] initWithTitle:@"Application"];
item = [parent addItemWithTitle:@"Application" action:NULL keyEquivalent:@""];
[parent setSubmenu:menu forItem:item];
[menu release];
@@ -784,7 +784,7 @@ static void UpdateChangeCountCallback(
[menu addItem:[NSMenuItem separatorItem]];
item = [menu addItemWithTitle:@"Services" action:NULL keyEquivalent:@""];
- submenu = [[NSMenu allocWithZone:[NSMenu zone]] initWithTitle:@"Services"];
+ submenu = [[NSMenu alloc] initWithTitle:@"Services"];
[menu setSubmenu:submenu forItem:item];
[submenu release];
[NSApp setServicesMenu:submenu];