From 2c565c4b07fc34c2eae7fe5d3541738dbffd235a Mon Sep 17 00:00:00 2001 From: Marvin Scholz Date: Sun, 18 Feb 2018 15:59:49 +0100 Subject: [PATCH] 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. --- 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 { -- 2.11.4.GIT