mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-19 01:30:48 +00:00
* Modeler.m
Use NULL instead of nil for an empty NSMenuItem action. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26514 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
94d86a2b8e
commit
3844a77a37
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2008-05-12 Blake Nicholson <blaken@umich.edu>
|
||||
|
||||
* Modeler.m: Use NULL instead of nil for an empty NSMenuItem action.
|
||||
|
||||
2008-05-11 Blake Nicholson <blaken@umich.edu>
|
||||
|
||||
* GNUmakefile.in: Add EOInterface, EOModeler, and DBModeler to
|
||||
|
|
|
@ -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]];
|
||||
|
||||
|
|
Loading…
Reference in a new issue