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
43a6180e0b
commit
b843efcb79
@ -2346,7 +2346,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