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:
Christoph Reiter 2017-03-14 20:53:09 +01:00 committed by Matthias Clasen
parent 43a6180e0b
commit b843efcb79

View File

@ -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;