* Source/NSMenu.m (+initialize): Don't create the default menu

zone as we never use it and a change in base made this an
  expensive operation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33694 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2011-08-04 08:52:42 +00:00
parent 8dc626f845
commit 9d79d0c978
2 changed files with 6 additions and 6 deletions

View file

@ -1,3 +1,9 @@
2011-08-04 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMenu.m (+initialize): Don't create the default menu
zone as we never use it and a change in base made this an
expensive operation.
2011-08-02 Eric Wasylishen <ewasylishen@gmail.com>
* Images/common_RadioOn.tiff:

View file

@ -39,7 +39,6 @@
#import <Foundation/NSCharacterSet.h>
#import <Foundation/NSDebug.h>
#import <Foundation/NSException.h>
#import <Foundation/NSGarbageCollector.h>
#import <Foundation/NSProcessInfo.h>
#import <Foundation/NSString.h>
#import <Foundation/NSNotification.h>
@ -578,11 +577,6 @@ static BOOL menuBarVisible = YES;
{
[self setVersion: 1];
nc = [NSNotificationCenter defaultCenter];
// If we're not running in GC mode, create a new zone
if ([NSGarbageCollector defaultCollector] == nil)
{
menuZone = NSCreateZone(0, 0, YES);
}
}
}