Memory fix and remove uneeded FIXME.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21588 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2005-08-01 09:39:17 +00:00
parent d37c771ac9
commit 3731a5475e
4 changed files with 10 additions and 16 deletions

View file

@ -1,3 +1,10 @@
2005-08-01 05:45 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormClassInspector.m: Remove dopy code from _currentClass.
* GormCore/GormPrivate.m: Use ASSIGNCOPY in initWithClassName:
* Palettes/1Windows/main.m: Removed FIXME, since Gorm shouldn't
show the window decoration changes directly.
2005-07-31 19:14 Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/1Windows/main.m: Addition of allocSubstitute method for

View file

@ -657,17 +657,7 @@ objectValueForTableColumn: (NSTableColumn *)tc
- (NSString *) _currentClass
{
if(object == nil)
{
return nil;
}
if([object className] == nil)
{
return nil;
}
return [NSString stringWithString: [object className]];
return [object className];
}
- (void) handleNotification: (NSNotification *)notification

View file

@ -159,8 +159,7 @@ static BOOL _isInInterfaceBuilder = NO;
- (void) setClassName: (NSString *)className
{
RELEASE(theClass);
theClass = [className copy];
ASSIGNCOPY(theClass, className);
}
- (NSImage *) imageForViewer
@ -187,7 +186,7 @@ static BOOL _isInInterfaceBuilder = NO;
if([n isKindOfClass: [NSString class]])
{
// create a copy.
ASSIGN(name, n);
ASSIGNCOPY(name, n);
}
else
{

View file

@ -282,8 +282,6 @@
}
[object _setStyleMask: newStyleMask];
// FIXME: This doesn't refresh the window decoration. How to do that?
// (currently needs manual hide/unhide to update decorations)
[object display];
}
else if (control == colorWell)