Browse Source

macosx: Use NSFontPanelModeMask to adapt to the new interface

This is available since 10.13 SDK.
pull/70/head
David Fuhrmann 8 years ago
parent
commit
98fb287558
  1. 2
      modules/gui/macosx/VLCSimplePrefsController.m

2
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]; [self osdSettingChanged:self];
} }
- (NSUInteger)validModesForFontPanel:(NSFontPanel *)fontPanel - (NSFontPanelModeMask)validModesForFontPanel:(NSFontPanel *)fontPanel
{ {
return NSFontPanelFaceModeMask | NSFontPanelCollectionModeMask; return NSFontPanelFaceModeMask | NSFontPanelCollectionModeMask;
} }

Loading…
Cancel
Save