[vlc-commits] macosx: Use NSFontPanelModeMask to adapt to the new interface

David Fuhrmann git at videolan.org
Sun Jun 10 11:03:06 CEST 2018


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sat Jun  9 20:21:21 2018 +0200| [98fb287558e5dfeca3b1d849b6369dff8318e0db] | committer: David Fuhrmann

macosx: Use NSFontPanelModeMask to adapt to the new interface

This is available since 10.13 SDK.

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

 modules/gui/macosx/VLCSimplePrefsController.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/VLCSimplePrefsController.m b/modules/gui/macosx/VLCSimplePrefsController.m
index 018bac43a1..9ac96aba8e 100644
--- a/modules/gui/macosx/VLCSimplePrefsController.m
+++ b/modules/gui/macosx/VLCSimplePrefsController.m
@@ -1227,7 +1227,7 @@ static inline void save_string_list(intf_thread_t * p_intf, id object, const cha
     [self osdSettingChanged:self];
 }
 
-- (NSUInteger)validModesForFontPanel:(NSFontPanel *)fontPanel
+- (NSFontPanelModeMask)validModesForFontPanel:(NSFontPanel *)fontPanel
 {
     return NSFontPanelFaceModeMask | NSFontPanelCollectionModeMask;
 }



More information about the vlc-commits mailing list