git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6103 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2000-02-25 08:03:17 +00:00
parent 692292bfd4
commit 3122e34b9f
2 changed files with 6 additions and 4 deletions

View file

@ -1,3 +1,8 @@
Fri Feb 25 07:07:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* Source/NSWorkspace.m: Removed a little unused code and fixed a
minor portabilitym problem with path usage.
Tue Feb 22 17:51:52 2000 Nicola Pero <n.pero@mi.flashnet.it>
Still much to do in the font classes, but thanks to Fred Kiefer

View file

@ -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"];
}
/*