forked from AuroraMiddleware/gtk
Merge branch 'fix_elcapitan_support' into 'gtk-3-24'
Fix building on OS X El Capitan 10.11 See merge request GNOME/gtk!3402
This commit is contained in:
commit
3a70781d40
@ -75,7 +75,7 @@ typedef enum {
|
||||
GDK_QUARTZ_EVENT_SUBTYPE_EVENTLOOP
|
||||
} GdkQuartzEventSubType;
|
||||
|
||||
#if MAC_OS_X_VERSION_MIN_REQUIRED >= 10130
|
||||
#if MAC_OS_X_VERSION_MIN_REQUIRED >= 101300
|
||||
#define GDK_QUARTZ_EVENT_TABLET_PROXIMITY NSEventTypeTabletProximity
|
||||
#define GDK_QUARTZ_EVENT_SUBTYPE_TABLET_PROXIMITY NSEventSubtypeTabletProximity
|
||||
#define GDK_QUARTZ_EVENT_SUBTYPE_TABLET_POINT NSEventSubtypeTabletPoint
|
||||
|
@ -37,7 +37,7 @@
|
||||
#define GTK_IM_CONTEXT_QUARTZ(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_IM_CONTEXT_TYPE_QUARTZ, GtkIMContextQuartz))
|
||||
#define GTK_IM_CONTEXT_QUARTZ_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_IM_CONTEXT_TYPE_QUARTZ, GtkIMContextQuartzClass))
|
||||
|
||||
#if MAC_OS_X_VERSION_MIN_REQUIRED < 10120
|
||||
#if MAC_OS_X_VERSION_MIN_REQUIRED < 101200
|
||||
#define NS_EVENT_KEY_DOWN NSKeyDown
|
||||
#else
|
||||
#define NS_EVENT_KEY_DOWN NSEventTypeKeyDown
|
||||
|
Loading…
Reference in New Issue
Block a user