From e6cf7a8d812565d7f451d3efde1c76116bfd99af Mon Sep 17 00:00:00 2001 From: Kristian Rietveld Date: Sun, 30 Dec 2012 16:56:46 +0100 Subject: [PATCH] quartz: define GDK_NATIVE_WINDOW_POINTER --- configure.ac | 2 ++ gdk/quartz/gdkdnd-quartz.c | 4 ++-- gdk/quartz/gdkselection-quartz.c | 12 ++++++------ 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index 942c21f5ce..290de0c833 100644 --- a/configure.ac +++ b/configure.ac @@ -1681,6 +1681,8 @@ elif test "x$gdktarget" = "xwin32" ; then #define GDK_WINDOWING_WIN32' elif test "x$gdktarget" = "xquartz" ; then gdk_windowing=' +#define GDK_NATIVE_WINDOW_POINTER + #define GDK_WINDOWING_QUARTZ' elif test "x$gdktarget" = "xdirectfb" ; then gdk_windowing=' diff --git a/gdk/quartz/gdkdnd-quartz.c b/gdk/quartz/gdkdnd-quartz.c index bb70b710fc..ec89ad2149 100644 --- a/gdk/quartz/gdkdnd-quartz.c +++ b/gdk/quartz/gdkdnd-quartz.c @@ -134,9 +134,9 @@ gdk_drag_motion (GdkDragContext *context, return FALSE; } -guint32 +GdkNativeWindow gdk_drag_get_protocol_for_display (GdkDisplay *display, - guint32 xid, + GdkNativeWindow xid, GdkDragProtocol *protocol) { /* FIXME: Implement */ diff --git a/gdk/quartz/gdkselection-quartz.c b/gdk/quartz/gdkselection-quartz.c index 50d1d2874c..d74886140b 100644 --- a/gdk/quartz/gdkselection-quartz.c +++ b/gdk/quartz/gdkselection-quartz.c @@ -64,12 +64,12 @@ gdk_selection_property_get (GdkWindow *requestor, } void -gdk_selection_send_notify_for_display (GdkDisplay *display, - guint32 requestor, - GdkAtom selection, - GdkAtom target, - GdkAtom property, - guint32 time) +gdk_selection_send_notify_for_display (GdkDisplay *display, + GdkNativeWindow requestor, + GdkAtom selection, + GdkAtom target, + GdkAtom property, + guint32 time) { /* FIXME: Implement */ }