mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 22:37:21 +00:00
Tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6103 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
692292bfd4
commit
3122e34b9f
2 changed files with 6 additions and 4 deletions
|
@ -47,9 +47,6 @@
|
|||
#include <Foundation/NSDistributedNotificationCenter.h>
|
||||
#include <Foundation/NSConnection.h>
|
||||
|
||||
#define stringify_it(X) #X
|
||||
#define mkpath(X) stringify_it(X) "/Tools"
|
||||
|
||||
static NSString *GSWorkspaceNotification = @"GSWorkspaceNotification";
|
||||
|
||||
@interface _GSWorkspaceCenter: NSNotificationCenter
|
||||
|
@ -179,7 +176,7 @@ static NSString *_rootPath = @"/";
|
|||
env = [[NSProcessInfo processInfo] environment];
|
||||
if (!env || !(home = [env objectForKey: @"GNUSTEP_USER_ROOT"]))
|
||||
{
|
||||
home = [NSString stringWithFormat: @"%@/GNUstep", NSHomeDirectory()];
|
||||
home = [NSHomeDirectory() stringByAppendingPathComponent: @"GNUstep"];
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue