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 c3190edd93
commit 64ec7c2640

View File

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