summaryrefslogtreecommitdiff
path: root/gdk/gdkdnd.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2008-08-04 22:35:16 +0000
committerTor Lillqvist <tml@src.gnome.org>2008-08-04 22:35:16 +0000
commitb1e744b064bc88bda3651b03f90aff5184532b8e (patch)
treeccd12c5689398051d556cfed1445723ba1aac2cf /gdk/gdkdnd.c
parentad2ea92f7519b9d4827c6bdb17f560566f778627 (diff)
downloadgtk+-b1e744b064bc88bda3651b03f90aff5184532b8e.tar.gz
Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
2008-08-05 Tor Lillqvist <tml@novell.com> 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
Diffstat (limited to 'gdk/gdkdnd.c')
-rw-r--r--gdk/gdkdnd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdk/gdkdnd.c b/gdk/gdkdnd.c
index 1d671c48ce..64336600b9 100644
--- a/gdk/gdkdnd.c
+++ b/gdk/gdkdnd.c
@@ -61,17 +61,17 @@ gdk_drag_find_window (GdkDragContext *context,
/**
* gdk_drag_get_protocol:
- * @xid: the X id of the destination window.
+ * @xid: the windowing system id of the destination window.
* @protocol: location where the supported DND protocol is returned.
*
* Finds out the DND protocol supported by a window.
*
- * Return value: the X id of the window where the drop should happen. This
- * may be @xid or the X id of a proxy window, or None if @xid doesn't
- * support Drag and Drop.
+ * Return value: the windowing system specific id for the window where
+ * the drop should happen. This may be @xid or the id of a proxy
+ * window, or zero if @xid doesn't support Drag and Drop.
**/
-guint32
-gdk_drag_get_protocol (guint32 xid,
+GdkNativeWindow
+gdk_drag_get_protocol (GdkNativeWindow xid,
GdkDragProtocol *protocol)
{
return gdk_drag_get_protocol_for_display (gdk_display_get_default (), xid, protocol);