Fix a small glitch in the previous commit and make use of the setter

method to initialize the private name attribute of an NSMenu.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30364 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2010-05-12 09:15:25 +00:00
parent 14b0075299
commit 2d56513a18

View file

@ -1621,10 +1621,7 @@ static BOOL menuBarVisible = YES;
}
self = [self initWithTitle: dTitle];
[self setAutoenablesItems: dAuto];
if (dName)
{
ASSIGN(_name, dName);
}
[self _setName: dName];
[self setMenuChangedMessagesEnabled: NO];
/*