diff --git a/ChangeLog b/ChangeLog index cfa25863b..117c54356 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-10-10 Fred Kiefer + + * Source/NSEvent.m, + * Source/NSImage.m, + * Source/GSTextStorage.m: Remove usage of NSDeallocateObject. + 2009-10-10 Fred Kiefer * Source/NSApplication.m (-endModalSession:): Bring the window of diff --git a/Source/GSTextStorage.m b/Source/GSTextStorage.m index d1239302a..d04a7702a 100644 --- a/Source/GSTextStorage.m +++ b/Source/GSTextStorage.m @@ -168,8 +168,7 @@ unCacheAttributes(NSDictionary *attrs) - (void) dealloc { [self finalize]; - NSDeallocateObject(self); - GSNOSUPERDEALLOC; + [super dealloc]; } - (NSString*) description diff --git a/Source/NSEvent.m b/Source/NSEvent.m index 88646fcaf..92b2c0bc2 100644 --- a/Source/NSEvent.m +++ b/Source/NSEvent.m @@ -509,8 +509,7 @@ static Class eventClass; { RELEASE((id)event_data.tracking.user_data); } - NSDeallocateObject(self); - GSNOSUPERDEALLOC; + [super dealloc]; } /** diff --git a/Source/NSImage.m b/Source/NSImage.m index 4046b4638..5971a0150 100644 --- a/Source/NSImage.m +++ b/Source/NSImage.m @@ -129,8 +129,7 @@ BOOL NSImageForceCaching = NO; /* use on missmatch */ { TEST_RELEASE(rep); TEST_RELEASE(bg); - NSDeallocateObject(self); - GSNOSUPERDEALLOC; + [super dealloc]; } @end