From 64c5b97be84dd05fb200201274ac9fd8ba2f424c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 25 Oct 2015 13:26:01 -0400 Subject: [PATCH] quartz: Don't use the instancetype keyword gdkcursor-quartz.c uses the instancetype keyword, which doesn't seem to be supported in the version of Objective C that Snow Leopard uses. Replacing that keyword with the thing it represents makes it build. Patch by Ryan Hendrickson, http://bugzilla.gnome.org/show_bug.cgi?id=756770 --- gdk/quartz/gdkcursor-quartz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/quartz/gdkcursor-quartz.c b/gdk/quartz/gdkcursor-quartz.c index f371e2371c..3f587dbae1 100644 --- a/gdk/quartz/gdkcursor-quartz.c +++ b/gdk/quartz/gdkcursor-quartz.c @@ -300,7 +300,7 @@ _gdk_quartz_display_get_cursor_for_surface (GdkDisplay *display, } #define CUSTOM_CURSOR_CTOR(name, id) \ - + (instancetype)name \ + + (gdkCoreCursor *)name \ { \ gdkCoreCursor *obj; \ obj = [self new]; \