From b1e744b064bc88bda3651b03f90aff5184532b8e Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 4 Aug 2008 22:35:16 +0000 Subject: Bug 544684 - Win64 issue, window handles are assumed to be 32-bit 2008-08-05 Tor Lillqvist Bug 544684 - Win64 issue, window handles are assumed to be 32-bit * gdk/gdkdnd.h * gdk/gdkdnd.c * gdk/win32/gdkdnd-win32.c * gdk/x11/gdkdnd-x11.c: Change return value and type of window id from guint32 to GdkNativeWindow for gdk_drag_get_protocol_for_display() and gdk_drag_get_protocol(). This is not an API break on existing platforms, as GdkNativeWindow has been guint32 for them already. svn path=/trunk/; revision=20988 --- gdk/gdkdnd.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'gdk/gdkdnd.h') diff --git a/gdk/gdkdnd.h b/gdk/gdkdnd.h index ae8362fbd6..b9f83352f5 100644 --- a/gdk/gdkdnd.h +++ b/gdk/gdkdnd.h @@ -130,9 +130,10 @@ GdkAtom gdk_drag_get_selection (GdkDragContext *context); GdkDragContext * gdk_drag_begin (GdkWindow *window, GList *targets); -guint32 gdk_drag_get_protocol_for_display (GdkDisplay *display, - guint32 xid, - GdkDragProtocol *protocol); +GdkNativeWindow gdk_drag_get_protocol_for_display (GdkDisplay *display, + GdkNativeWindow xid, + GdkDragProtocol *protocol); + void gdk_drag_find_window_for_screen (GdkDragContext *context, GdkWindow *drag_window, GdkScreen *screen, @@ -142,8 +143,9 @@ void gdk_drag_find_window_for_screen (GdkDragContext *context, GdkDragProtocol *protocol); #ifndef GDK_MULTIHEAD_SAFE -guint32 gdk_drag_get_protocol (guint32 xid, - GdkDragProtocol *protocol); +GdkNativeWindow gdk_drag_get_protocol (GdkNativeWindow xid, + GdkDragProtocol *protocol); + void gdk_drag_find_window (GdkDragContext *context, GdkWindow *drag_window, gint x_root, -- cgit v1.2.1