Commit 98fb2875 authored by David's avatar David
Browse files

macosx: Use NSFontPanelModeMask to adapt to the new interface

This is available since 10.13 SDK.
parent ea8ed957
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment