forked from AuroraMiddleware/gtk
quartz: fix build for <10.12
The style mask type was changed from NSUInteger to NSWindowStyleMask. Use NSUInteger so it also works on older macOS. https://bugzilla.gnome.org/show_bug.cgi?id=780019
This commit is contained in:
parent
c3190edd93
commit
64ec7c2640
@ -2496,7 +2496,7 @@ gdk_quartz_window_set_functions (GdkWindow *window,
|
||||
|
||||
if (impl->toplevel)
|
||||
{
|
||||
NSWindowStyleMask mask = [impl->toplevel styleMask];
|
||||
NSUInteger mask = [impl->toplevel styleMask];
|
||||
|
||||
if (min)
|
||||
mask = mask | NSMiniaturizableWindowMask;
|
||||
|
Loading…
Reference in New Issue
Block a user