Fix compilation warning: Use GDK_GPOINTER_TO_NATIVE_WINDOW() macro

This commit is contained in:
Javier Jardón 2009-11-10 20:26:59 +01:00
parent cd2ff792ca
commit e8e82802a4

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 = GDK_GPOINTER_TO_NATIVE_WINDOW(embedded_windows->data);
gdk_event_send_client_message_for_display (gtk_widget_get_display (widget), send_event, xid);
embedded_windows = embedded_windows->next;
}