diff --git a/ChangeLog b/ChangeLog index 558382b..dfcf165 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-05-12 Blake Nicholson + + * Modeler.m: Use NULL instead of nil for an empty NSMenuItem action. + 2008-05-11 Blake Nicholson * GNUmakefile.in: Add EOInterface, EOModeler, and DBModeler to diff --git a/DBModeler/Modeler.m b/DBModeler/Modeler.m index a156872..f082417 100644 --- a/DBModeler/Modeler.m +++ b/DBModeler/Modeler.m @@ -78,7 +78,7 @@ @implementation NSMenu (im_lazy) - (NSMenuItem *)addItemWithTitle: (NSString *)s { - return [self addItemWithTitle: s action: nil keyEquivalent: @""]; + return [self addItemWithTitle: s action: NULL keyEquivalent: @""]; } - (NSMenuItem *)addItemWithTitle: (NSString *)s action: (SEL)sel @@ -132,7 +132,7 @@ [subMenu setAutoenablesItems:YES]; [subMenu addItemWithTitle: _(@"About DBModeler") - action: nil]; + action: NULL]; [subMenu addItem: [NSMenuItem separatorItem]];