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.
This commit is contained in:
Javier Jardón
2009-11-09 05:48:45 +01:00
parent 3143a344a7
commit 78151dc7d4

View File

@@ -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;
}