aboutsummaryrefslogtreecommitdiff
path: root/AppKit
diff options
context:
space:
mode:
Diffstat (limited to 'AppKit')
-rw-r--r--AppKit/GTMCarbonEvent.m10
-rw-r--r--AppKit/GTMLinearRGBShading.m12
2 files changed, 0 insertions, 22 deletions
diff --git a/AppKit/GTMCarbonEvent.m b/AppKit/GTMCarbonEvent.m
index 9ff1fbf..e2c5758 100644
--- a/AppKit/GTMCarbonEvent.m
+++ b/AppKit/GTMCarbonEvent.m
@@ -134,16 +134,6 @@
return carbonEvent;
}
-#if GTM_SUPPORT_GC
-- (void)finalize {
- if (event_) {
- ReleaseEvent(event_);
- event_ = NULL;
- }
- [super finalize];
-}
-#endif
-
// releases our retained event
//
- (void)dealloc {
diff --git a/AppKit/GTMLinearRGBShading.m b/AppKit/GTMLinearRGBShading.m
index 4ddabce..f605350 100644
--- a/AppKit/GTMLinearRGBShading.m
+++ b/AppKit/GTMLinearRGBShading.m
@@ -58,18 +58,6 @@ static void cShadeFunction(void *info, const CGFloat *inPos, CGFloat *outVals);
return self;
}
-#if GTM_SUPPORT_GC
-- (void)finalize {
- if (nil != function_) {
- CGFunctionRelease(function_);
- }
- if (nil != colorSpace_) {
- CGColorSpaceRelease(colorSpace_);
- }
- [super finalize];
-}
-#endif
-
- (void)dealloc {
if (nil != function_) {
CGFunctionRelease(function_);