[vlc-commits] macosx: FSPanelController: Do not guard use of 10.10 API

Marvin Scholz git at videolan.org
Sun Feb 18 16:11:02 CET 2018


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Sun Feb 18 15:59:49 2018 +0100| [2c565c4b07fc34c2eae7fe5d3541738dbffd235a] | committer: Marvin Scholz

macosx: FSPanelController: Do not guard use of 10.10 API

VLC 4.0 now targets macOS 10.10 and higher only, so we do not need to
guard the usage of 10.10+ APIs here.

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

 modules/gui/macosx/VLCFSPanelController.m | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/modules/gui/macosx/VLCFSPanelController.m b/modules/gui/macosx/VLCFSPanelController.m
index cd9957e233..5996a031fb 100644
--- a/modules/gui/macosx/VLCFSPanelController.m
+++ b/modules/gui/macosx/VLCFSPanelController.m
@@ -419,9 +419,6 @@ static NSString *kAssociatedFullscreenRect = @"VLCFullscreenAssociatedWindowRect
 #pragma mark -
 #pragma mark Helpers
 
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wpartial-availability"
-
 /**
  Create an image mask for the NSVisualEffectView
  with rounded corners in the given rect
@@ -471,7 +468,6 @@ static NSString *kAssociatedFullscreenRect = @"VLCFullscreenAssociatedWindowRect
     [_controlsView setAppearance:[NSAppearance appearanceNamed:NSAppearanceNameVibrantDark]];
     [self.window.contentView addSubview:_controlsView];
 }
-#pragma clang diagnostic pop
 
 - (void)dealloc
 {



More information about the vlc-commits mailing list