[gtk+] Fix compilation warning: Use G_POINTER_TO_UINT
- From: Javier Jardón <jjardon src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Fix compilation warning: Use G_POINTER_TO_UINT
- Date: Mon, 9 Nov 2009 20:18:37 +0000 (UTC)
commit 78151dc7d41069e876fe165527e68c238ef7fd4a
Author: Javier Jardón <jjardon gnome org>
Date: Mon Nov 9 05:48:45 2009 +0100
Fix compilation warning: Use G_POINTER_TO_UINT
GPOINTER_TO_UINT() doesn't drops the upper 32 bits on Win64 anymore.
The Glib commit e4194cb055e44f8a1bd2ab666ead9fa040bcdb89 solved this
problem.
gtk/gtkwindow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index ffd9d8a..5fed54b 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -5315,7 +5315,7 @@ send_client_message_to_embedded_windows (GtkWidget *widget,
while (embedded_windows)
{
- GdkNativeWindow xid = (GdkNativeWindow) embedded_windows->data;
+ GdkNativeWindow xid = GPOINTER_TO_UINT (embedded_windows->data);
gdk_event_send_client_message_for_display (gtk_widget_get_display (widget), send_event, xid);
embedded_windows = embedded_windows->next;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]