aboutsummaryrefslogtreecommitdiff
path: root/AppKit
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2013-01-02 13:00:13 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2013-01-02 13:00:13 +0000
commit3d42089a8fac73ca2c437fdfffaffc12ac540159 (patch)
tree25df431d42703439793720061f3ba213ea7fe7ee /AppKit
parent2c2586d12e7757a41a1eda0c47c6b9c2fabe970e (diff)
[Author: thomasvl]
Remove the GC support code. Add the needed images for the iOS unittests under iOS 6.0. Add a workspace file for the iPhone project. R=dmaclach DELTA=215 (85 added, 122 deleted, 8 changed)
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_);