Commit 60afd8a1 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

macOS: statusbar do not warn about modern selectors for visibility

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 9b0e91db
......@@ -172,6 +172,9 @@
// Attach pull-down menu
[self.statusItem setMenu:_vlcStatusBarIconMenu];
// Visibility is 10.12+
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wpartial-availability"
[self.statusItem setBehavior:NSStatusItemBehaviorRemovalAllowed];
[self.statusItem setAutosaveName:@"statusBarItem"];
......@@ -198,6 +201,7 @@
[[NSStatusBar systemStatusBar] removeStatusItem:self.statusItem];
self.statusItem = nil;
#pragma clang diagnostic pop
- (void)dealloc
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment