mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
Remove now unused NSCurrentServerThreadKey key, previously it was used tor GSCurrentServer(), but it it is not needed anymore. Please use the function directly.
This commit is contained in:
parent
fccf8771e6
commit
3341f6f149
1 changed files with 0 additions and 2 deletions
|
@ -62,7 +62,6 @@ static NSMapTable *windowmaps = NULL;
|
|||
/* Lock for use when creating contexts */
|
||||
static NSRecursiveLock *serverLock = nil;
|
||||
|
||||
static NSString *NSCurrentServerThreadKey;
|
||||
static GSDisplayServer *currentServer = nil;
|
||||
|
||||
/** Returns the GSDisplayServer that created the interal
|
||||
|
@ -130,7 +129,6 @@ GSCurrentServer(void)
|
|||
serverLock = [NSRecursiveLock new];
|
||||
_globalGSZone = NSDefaultMallocZone();
|
||||
defaultServerClass = [GSDisplayServer class];
|
||||
NSCurrentServerThreadKey = @"NSCurrentServerThreadKey";
|
||||
windowmaps = NSCreateMapTable(NSNonOwnedPointerMapKeyCallBacks,
|
||||
NSNonOwnedPointerMapValueCallBacks, 20);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue