From 3d42089a8fac73ca2c437fdfffaffc12ac540159 Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Wed, 2 Jan 2013 13:00:13 +0000 Subject: [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) --- AppKit/GTMCarbonEvent.m | 10 ---------- AppKit/GTMLinearRGBShading.m | 12 ------------ 2 files changed, 22 deletions(-) (limited to 'AppKit') 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_); -- cgit v1.2.3