mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 12:01:16 +00:00
Return autoreleased copy of classname from _currentClass method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21589 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3731a5475e
commit
5400a8841d
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-08-01 07:59 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
|
* GormCore/GormClassInspector.m: Return an autoreleased copy of the
|
||||||
|
class name from _currentClass.
|
||||||
|
|
||||||
2005-08-01 05:45 Gregory John Casamento <greg_casamento@yahoo.com>
|
2005-08-01 05:45 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
* GormCore/GormClassInspector.m: Remove dopy code from _currentClass.
|
* GormCore/GormClassInspector.m: Remove dopy code from _currentClass.
|
||||||
|
|
|
@ -657,7 +657,7 @@ objectValueForTableColumn: (NSTableColumn *)tc
|
||||||
|
|
||||||
- (NSString *) _currentClass
|
- (NSString *) _currentClass
|
||||||
{
|
{
|
||||||
return [object className];
|
return AUTORELEASE([[object className] copy]);
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) handleNotification: (NSNotification *)notification
|
- (void) handleNotification: (NSNotification *)notification
|
||||||
|
|
Loading…
Reference in a new issue