[vlc-commits] macosx: fix some more compilation warnings

Felix Paul Kühne git at videolan.org
Mon Sep 5 14:01:28 CEST 2011


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Sep  5 14:01:23 2011 +0200| [67b1aab71a46f040b62c5493df880d6b5ca2acd8] | committer: Felix Paul Kühne

macosx: fix some more compilation warnings

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=67b1aab71a46f040b62c5493df880d6b5ca2acd8
---

 modules/gui/macosx/CompatibilityFixes.h |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/modules/gui/macosx/CompatibilityFixes.h b/modules/gui/macosx/CompatibilityFixes.h
index 08198e2..b27566c 100644
--- a/modules/gui/macosx/CompatibilityFixes.h
+++ b/modules/gui/macosx/CompatibilityFixes.h
@@ -57,10 +57,6 @@ enum {
     NSApplicationPresentationDisableMenuBarTransparency = (1 <<  9)
 };
 
- at interface NSWindow (IntroducedInLion) // just to shut off warnings, not implemented!
-- (void)setRestorable:(BOOL);
- at end
-
 #endif
 
 #pragma mark -
@@ -77,4 +73,14 @@ enum {
     NSApplicationPresentationAutoHideToolbar            = (1 << 11)
 };
 
+/* the follow is just to fix warnings, not for implementation! */
+ at interface NSWindow (IntroducedInLion)
+- (void)setRestorable:(BOOL)b_value;
+- (void)toggleFullScreen:(id)id_value;
+ at end
+
+ at interface NSEvent (IntroducedInLion)
+- (BOOL)isDirectionInvertedFromDevice;
+ at end
+
 #endif



More information about the vlc-commits mailing list