summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2017-03-14 20:53:09 +0100
committerMatthias Clasen <mclasen@redhat.com>2017-03-15 07:18:48 -0400
commitb843efcb79fb2f2017a9af593dcad01d524ad9cb (patch)
tree2267983fb146940a792c616ac3fc8768ec94add7 /gdk
parent43a6180e0b3ad0e3c4c3bc193e7fe788b2345a0c (diff)
downloadgtk+-b843efcb79fb2f2017a9af593dcad01d524ad9cb.tar.gz
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
Diffstat (limited to 'gdk')
-rw-r--r--gdk/quartz/gdkwindow-quartz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c
index aa1049655f..d7b2f04747 100644
--- a/gdk/quartz/gdkwindow-quartz.c
+++ b/gdk/quartz/gdkwindow-quartz.c
@@ -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;