[gtk+/gtk-2-24] quartz: define GDK_NATIVE_WINDOW_POINTER
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24] quartz: define GDK_NATIVE_WINDOW_POINTER
- Date: Thu, 28 Mar 2013 11:07:11 +0000 (UTC)
commit e6cf7a8d812565d7f451d3efde1c76116bfd99af
Author: Kristian Rietveld <kris loopnest org>
Date: Sun Dec 30 16:56:46 2012 +0100
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 942c21f..290de0c 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 bb70b71..ec89ad2 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 50d1d28..d748861 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 */
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]