[vlc-commits] macosx: FSPanelController: Always assume 10.10 SDK or newer

Marvin Scholz git at videolan.org
Sun Feb 18 16:10:59 CET 2018


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

macosx: FSPanelController: Always assume 10.10 SDK or newer

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

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

diff --git a/modules/gui/macosx/VLCFSPanelController.m b/modules/gui/macosx/VLCFSPanelController.m
index 9b08acf4fc..7136aef001 100644
--- a/modules/gui/macosx/VLCFSPanelController.m
+++ b/modules/gui/macosx/VLCFSPanelController.m
@@ -80,17 +80,12 @@ static NSString *kAssociatedFullscreenRect = @"VLCFullscreenAssociatedWindowRect
     /* Set autosave name after we changed window mask to resizable */
     [self.window setFrameAutosaveName:@"VLCFullscreenControls"];
 
-#ifdef MAC_OS_X_VERSION_10_10
     /* Inject correct background view depending on OS support */
     if (OSX_YOSEMITE_AND_HIGHER) {
         [self injectVisualEffectView];
     } else {
         [self injectBackgroundView];
     }
-#else
-    /* Compiled with old SDK, always use legacy style */
-    [self injectBackgroundView];
-#endif
 
     [self setupControls];
 }
@@ -428,7 +423,6 @@ static NSString *kAssociatedFullscreenRect = @"VLCFullscreenAssociatedWindowRect
 #pragma mark -
 #pragma mark Helpers
 
-#ifdef MAC_OS_X_VERSION_10_10
 #pragma clang diagnostic push
 #pragma clang diagnostic ignored "-Wpartial-availability"
 
@@ -483,7 +477,6 @@ static NSString *kAssociatedFullscreenRect = @"VLCFullscreenAssociatedWindowRect
     [self.window.contentView addSubview:_controlsView];
 }
 #pragma clang diagnostic pop
-#endif
 
 /**
  Injects the standard background view in the Windows view hierarchy



More information about the vlc-commits mailing list