diff options
author | ritsuka <[email protected]> | 2015-03-19 16:12:45 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-03-19 16:12:45 +0000 |
commit | 343b5248f8a0e0ffc756ece9a81e1e5d83a43a33 (patch) | |
tree | c2a7a3f3bd9efe6d2c500ebd8bf2be18ebb04085 /macosx | |
parent | e0c8715ad5612f5afd6dc8cb11d7e1f135726f01 (diff) |
MacGui: add a missing ownership qualifier needed by ARC.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7005 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/HBAudioTrack.m | 2 | ||||
-rw-r--r-- | macosx/HBAudioTrackPreset.m | 2 | ||||
-rw-r--r-- | macosx/HBPicture.m | 12 |
3 files changed, 8 insertions, 8 deletions
diff --git a/macosx/HBAudioTrack.m b/macosx/HBAudioTrack.m index 0c20f3437..f6e6c9e27 100644 --- a/macosx/HBAudioTrack.m +++ b/macosx/HBAudioTrack.m @@ -438,7 +438,7 @@ static NSMutableArray *masterBitRateArray = nil; // Because we have indicated that the binding for the gain validates immediately we can implement the // key value binding method to ensure the gain stays in our accepted range. -- (BOOL)validateGain:(id *)ioValue error:(NSError *)outError +- (BOOL)validateGain:(id *)ioValue error:(NSError * __autoreleasing *)outError { BOOL retval = YES; diff --git a/macosx/HBAudioTrackPreset.m b/macosx/HBAudioTrackPreset.m index 80bcf918d..1e9bc021e 100644 --- a/macosx/HBAudioTrackPreset.m +++ b/macosx/HBAudioTrackPreset.m @@ -139,7 +139,7 @@ static void *HBAudioEncoderContex = &HBAudioEncoderContex; // Because we have indicated that the binding for the gain validates immediately we can implement the // key value binding method to ensure the gain stays in our accepted range. -- (BOOL)validateGain:(id *)ioValue error:(NSError *)outError +- (BOOL)validateGain:(id *)ioValue error:(NSError * __autoreleasing *)outError { BOOL retval = YES; diff --git a/macosx/HBPicture.m b/macosx/HBPicture.m index ce636f250..e3cafa722 100644 --- a/macosx/HBPicture.m +++ b/macosx/HBPicture.m @@ -77,7 +77,7 @@ NSString * const HBPictureChangedNotification = @"HBPictureChangedNotification"; } } -- (BOOL)validateWidth:(id *)ioValue error:(NSError *)outError +- (BOOL)validateWidth:(id *)ioValue error:(NSError * __autoreleasing *)outError { BOOL retval = YES; @@ -107,7 +107,7 @@ NSString * const HBPictureChangedNotification = @"HBPictureChangedNotification"; } } -- (BOOL)validateHeight:(id *)ioValue error:(NSError *)outError +- (BOOL)validateHeight:(id *)ioValue error:(NSError * __autoreleasing *)outError { BOOL retval = YES; @@ -191,25 +191,25 @@ NSString * const HBPictureChangedNotification = @"HBPictureChangedNotification"; } } -- (BOOL)validateCropTop:(id *)ioValue error:(NSError *)outError +- (BOOL)validateCropTop:(id *)ioValue error:(NSError * __autoreleasing *)outError { [self validateVCrop:ioValue]; return YES; } -- (BOOL)validateCropBottom:(id *)ioValue error:(NSError *)outError +- (BOOL)validateCropBottom:(id *)ioValue error:(NSError * __autoreleasing *)outError { [self validateVCrop:ioValue]; return YES; } -- (BOOL)validateCropLeft:(id *)ioValue error:(NSError *)outError +- (BOOL)validateCropLeft:(id *)ioValue error:(NSError * __autoreleasing *)outError { [self validateHCrop:ioValue]; return YES; } -- (BOOL)validateCropRight:(id *)ioValue error:(NSError *)outError +- (BOOL)validateCropRight:(id *)ioValue error:(NSError * __autoreleasing *)outError { [self validateHCrop:ioValue]; return YES; |