diff options
author | dynaflash <[email protected]> | 2011-05-26 14:00:20 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2011-05-26 14:00:20 +0000 |
commit | 8ff47961addfc83c7e7b0e468b9b56d2c328b03e (patch) | |
tree | 1c268e97f9287e0d416814b97bbb7279f037f5b5 /macosx | |
parent | c7bca57fa504cb0d7ead54c66b760ac7fcabb096 (diff) |
MacGui: Fix some compile time warnings.
- patch by blindjimmy, thanks!
- as per https://reviews.handbrake.fr/r/99/
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4001 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/Controller.h | 1 | ||||
-rw-r--r-- | macosx/Controller.m | 5 | ||||
-rw-r--r-- | macosx/HBAudioController.m | 2 |
3 files changed, 1 insertions, 7 deletions
diff --git a/macosx/Controller.h b/macosx/Controller.h index 5b7864e75..4b3b50fd1 100644 --- a/macosx/Controller.h +++ b/macosx/Controller.h @@ -292,7 +292,6 @@ BOOL fIsDragging; returnCode: (int) returnCode contextInfo: (void *) contextInfo; - (IBAction) showPicturePanel: (id) sender; -- (void) picturePanelFullScreen; - (void) picturePanelWindowed; - (IBAction) showPreviewWindow: (id) sender; - (void)pictureSettingsDidChange; diff --git a/macosx/Controller.m b/macosx/Controller.m index d3720ae7f..d77c25161 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -5089,11 +5089,6 @@ the user is using "Custom" settings by determining the sender*/ [fPictureController showPictureWindow:sender]; } -- (void) picturePanelFullScreen -{ - [fPictureController setToFullScreenMode]; -} - - (void) picturePanelWindowed { [fPictureController setToWindowedMode]; diff --git a/macosx/HBAudioController.m b/macosx/HBAudioController.m index 074533b18..c50227ff5 100644 --- a/macosx/HBAudioController.m +++ b/macosx/HBAudioController.m @@ -444,7 +444,7 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification"; // If this is not the last track in the array we need to remove it. We then need to see if a new // one needs to be added (in the case when we were at maximum count and this switching makes it // so we are no longer at maximum. - unsigned int index = [audioArray indexOfObject: newNoneTrack]; + NSUInteger index = [audioArray indexOfObject: newNoneTrack]; if (NSNotFound != index && index < [self countOfAudioArray] - 1) { [self removeObjectFromAudioArrayAtIndex: index]; |