diff options
author | Tor Lillqvist <tml@novell.com> | 2008-08-04 22:35:16 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2008-08-04 22:35:16 +0000 |
commit | b1e744b064bc88bda3651b03f90aff5184532b8e (patch) | |
tree | ccd12c5689398051d556cfed1445723ba1aac2cf /gdk/gdkdnd.h | |
parent | ad2ea92f7519b9d4827c6bdb17f560566f778627 (diff) | |
download | gtk+-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.h')
-rw-r--r-- | gdk/gdkdnd.h | 12 |
1 files changed, 7 insertions, 5 deletions
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, |