vlc | branch: master | Jean-Baptiste Kempf <j...@videolan.org> | Wed Dec 21 
21:21:53 2016 +0100| [1fbcaed5fc2293e4278d73abd497cfe40b8afcad] | committer: 
Jean-Baptiste Kempf

macOS: disable warnings for FSPanelController

Some drawing directives are too new, this code needs review and fixes

Signed-off-by: Jean-Baptiste Kempf <j...@videolan.org>

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

 modules/gui/macosx/VLCFSPanelController.m | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/gui/macosx/VLCFSPanelController.m 
b/modules/gui/macosx/VLCFSPanelController.m
index 3c4c637..7f5d21a 100644
--- a/modules/gui/macosx/VLCFSPanelController.m
+++ b/modules/gui/macosx/VLCFSPanelController.m
@@ -389,6 +389,8 @@
  
  \param bounds  The rect for the image size
  */
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wpartial-availability"
 - (NSImage *)maskImageWithBounds:(NSRect)bounds
 {
     static const float radius = 8.0;
@@ -426,6 +428,7 @@
     [_controlsView setAppearance:[NSAppearance 
appearanceNamed:NSAppearanceNameVibrantDark]];
     [self.window.contentView addSubview:_controlsView];
 }
+#pragma clang diagnostic pop
 #endif
 
 /**

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to