Code cleanup and corrected contact address

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/branches/RELEASE_0_3_5@17132 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Philippe C.D. Robert 2003-07-05 15:00:12 +00:00
parent d30a3a7a3e
commit 31936addc4
2 changed files with 10 additions and 13 deletions

View file

@ -3,7 +3,7 @@
Copyright (C) 2001 Free Software Foundation
Author: Philippe C.D. Robert <phr@3dkit.org>
Author: Philippe C.D. Robert <probert@siggraph.org>
This file is part of GNUstep.

View file

@ -3,7 +3,7 @@
Copyright (C) 2001 Free Software Foundation
Author: Philippe C.D. Robert <phr@3dkit.org>
Author: Philippe C.D. Robert <probert@siggraph.org>
This file is part of GNUstep.
@ -27,10 +27,6 @@
#include "PCInfoController.h"
#include <ProjectCenter/ProjectCenter.h>
#if defined(GNUSTEP)
#include <AppKit/IMLoading.h>
#endif
@implementation PCInfoController
- (id)init
@ -38,21 +34,22 @@
if ((self = [super init])) {
NSString *file;
file = [[NSBundle mainBundle]
pathForResource:@"Info-gnustep"
ofType:@"plist"];
file = [[NSBundle mainBundle] pathForResource:@"Info-gnustep"
ofType:@"plist"];
infoDict = [NSDictionary dictionaryWithContentsOfFile:file];
[infoDict retain];
RETAIN(infoDict);
}
return self;
}
- (void)dealloc
{
[infoDict release];
RELEASE(infoDict);
if (infoWindow) {
[infoWindow release];
if (infoWindow)
{
RELEASE(infoWindow);
}
[super dealloc];