match change to base library.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27582 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2009-01-12 18:39:23 +00:00
parent c0cc549d52
commit 3d4657d03a
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2009-01-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTextStorage.m: Change to use new GC finalization API.
2009-01-12 10:25-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibLoading.m: More documentation.

View file

@ -133,7 +133,7 @@ unCacheAttributes(NSDictionary *attrs)
@interface GSTextInfo : NSObject <GCFinalization>
@interface GSTextInfo : NSObject
{
@public
unsigned loc;
@ -167,7 +167,7 @@ unCacheAttributes(NSDictionary *attrs)
- (void) dealloc
{
[self gcFinalize];
[self finalize];
NSDeallocateObject(self);
GSNOSUPERDEALLOC;
}
@ -187,7 +187,7 @@ unCacheAttributes(NSDictionary *attrs)
}
}
- (void) gcFinalize
- (void) finalize
{
unCacheAttributes(attrs);
DESTROY(attrs);