mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 22:10:08 +00:00
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:
parent
f55e3f7eda
commit
64c5b97be8
@ -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]; \
|
||||
|
Loading…
Reference in New Issue
Block a user