mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 10:01:14 +00:00
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:
parent
c0cc549d52
commit
3d4657d03a
2 changed files with 7 additions and 3 deletions
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue