From f4d9ce22f48d8b61d88a11aa9b5033f46db9aaaf Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 4 Aug 2008 22:43:57 +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/gdkselection.h * gdk/gdkselection.c * gdk/win32/gdkselection-win32.c * gdk/x11/gdkselection-x11.c: Change type of the requestor window id parameter of gdk_selection_send_notify_for_display() and gdk_selection_send_notify() from guint32 to GdkNativeWindow. * gdk/win32/gdkselection-win32.c: Add some guchar and char pointer casts to get rid of gcc 4.4 warnings. Print GdkAtom values in debugging output using the %p format. svn path=/trunk/; revision=20991 --- gdk/gdkselection.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'gdk/gdkselection.h') diff --git a/gdk/gdkselection.h b/gdk/gdkselection.h index 8b8f008dc0..325c38321c 100644 --- a/gdk/gdkselection.h +++ b/gdk/gdkselection.h @@ -92,19 +92,19 @@ gboolean gdk_selection_property_get (GdkWindow *requestor, gint *prop_format); #ifndef GDK_MULTIHEAD_SAFE -void gdk_selection_send_notify (guint32 requestor, - GdkAtom selection, - GdkAtom target, - GdkAtom property, - guint32 time_); +void gdk_selection_send_notify (GdkNativeWindow requestor, + GdkAtom selection, + GdkAtom target, + GdkAtom property, + guint32 time_); #endif /* GDK_MULTIHEAD_SAFE */ -void gdk_selection_send_notify_for_display (GdkDisplay *display, - guint32 requestor, - GdkAtom selection, - GdkAtom target, - GdkAtom property, - guint32 time_); +void gdk_selection_send_notify_for_display (GdkDisplay *display, + GdkNativeWindow requestor, + GdkAtom selection, + GdkAtom target, + GdkAtom property, + guint32 time_); G_END_DECLS -- cgit v1.2.1