aboutsummaryrefslogtreecommitdiff
path: root/Foundation
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2010-02-10 04:00:35 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2010-02-10 04:00:35 +0000
commit782d59ac084205f1ca998a65ca0d46b47db6b627 (patch)
treea259a492a34b588c6b037bc11bedce27ee1e8d39 /Foundation
parent24520303528338589b543a72e3c8194899688607 (diff)
[Author: dmaclach]
Clean up a pile of API upgrade warnings from clang, and the dead store. R=thomasvl DELTA=13 (0 added, 3 deleted, 10 changed)
Diffstat (limited to 'Foundation')
-rw-r--r--Foundation/GTMNSAppleEventDescriptor+Foundation.m12
-rw-r--r--Foundation/GTMNSAppleScript+Handler.m2
2 files changed, 7 insertions, 7 deletions
diff --git a/Foundation/GTMNSAppleEventDescriptor+Foundation.m b/Foundation/GTMNSAppleEventDescriptor+Foundation.m
index b355607..40a52de 100644
--- a/Foundation/GTMNSAppleEventDescriptor+Foundation.m
+++ b/Foundation/GTMNSAppleEventDescriptor+Foundation.m
@@ -264,7 +264,7 @@ static NSMutableDictionary *gTypeMap = nil;
[NSAppleEventDescriptor gtm_registerSelector:@selector(gtm_arrayValue)
forTypes:types
count:sizeof(types)/sizeof(DescType)];
- [pool release];
+ [pool drain];
}
- (NSAppleEventDescriptor*)gtm_appleEventDescriptor {
@@ -294,7 +294,7 @@ static NSMutableDictionary *gTypeMap = nil;
[NSAppleEventDescriptor gtm_registerSelector:@selector(gtm_dictionaryValue)
forTypes:types
count:sizeof(types)/sizeof(DescType)];
- [pool release];
+ [pool drain];
}
- (NSAppleEventDescriptor*)gtm_appleEventDescriptor {
@@ -354,7 +354,7 @@ static NSMutableDictionary *gTypeMap = nil;
[NSAppleEventDescriptor gtm_registerSelector:@selector(gtm_nullValue)
forTypes:types
count:sizeof(types)/sizeof(DescType)];
- [pool release];
+ [pool drain];
}
- (NSAppleEventDescriptor*)gtm_appleEventDescriptor {
@@ -378,7 +378,7 @@ static NSMutableDictionary *gTypeMap = nil;
[NSAppleEventDescriptor gtm_registerSelector:@selector(stringValue)
forTypes:types
count:sizeof(types)/sizeof(DescType)];
- [pool release];
+ [pool drain];
}
- (NSAppleEventDescriptor*)gtm_appleEventDescriptor {
@@ -404,7 +404,7 @@ static NSMutableDictionary *gTypeMap = nil;
[NSAppleEventDescriptor gtm_registerSelector:@selector(gtm_numberValue)
forTypes:types
count:sizeof(types)/sizeof(DescType)];
- [pool release];
+ [pool drain];
}
- (NSAppleEventDescriptor*)gtm_appleEventDescriptor {
@@ -492,7 +492,7 @@ static NSMutableDictionary *gTypeMap = nil;
[NSAppleEventDescriptor gtm_registerSelector:@selector(gtm_fourCharCodeValue)
forTypes:types
count:sizeof(types)/sizeof(DescType)];
- [pool release];
+ [pool drain];
}
- (NSAppleEventDescriptor*)gtm_appleEventDescriptor {
diff --git a/Foundation/GTMNSAppleScript+Handler.m b/Foundation/GTMNSAppleScript+Handler.m
index 5bb1f46..01e15e1 100644
--- a/Foundation/GTMNSAppleScript+Handler.m
+++ b/Foundation/GTMNSAppleScript+Handler.m
@@ -119,7 +119,7 @@ GTM_METHOD_CHECK(NSAppleEventDescriptor, gtm_registerSelector:forTypes:count:);
[NSAppleEventDescriptor gtm_registerSelector:@selector(gtm_osaIDValue)
forTypes:types3
count:sizeof(types3)/sizeof(DescType)];
- [pool release];
+ [pool drain];
}
- (NSAppleEventDescriptor *)gtm_executeAppleEvent:(NSAppleEventDescriptor *)event