mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
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:
parent
d37c771ac9
commit
3731a5475e
4 changed files with 10 additions and 16 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue