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
This commit is contained in:
@ -300,7 +300,7 @@ _gdk_quartz_display_get_cursor_for_surface (GdkDisplay *display,
|
|||||||
}
|
}
|
||||||
|
|
||||||
#define CUSTOM_CURSOR_CTOR(name, id) \
|
#define CUSTOM_CURSOR_CTOR(name, id) \
|
||||||
+ (instancetype)name \
|
+ (gdkCoreCursor *)name \
|
||||||
{ \
|
{ \
|
||||||
gdkCoreCursor *obj; \
|
gdkCoreCursor *obj; \
|
||||||
obj = [self new]; \
|
obj = [self new]; \
|
||||||
|
Reference in New Issue
Block a user