[gtk+] Fix compilation warning: Use GDK_GPOINTER_TO_NATIVE_WINDOW() macro
- From: Javier Jardón <jjardon src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Fix compilation warning: Use GDK_GPOINTER_TO_NATIVE_WINDOW() macro
- Date: Tue, 10 Nov 2009 19:40:08 +0000 (UTC)
commit e8e82802a48a3bf2003a6f1451534a7f218c776b
Author: Javier Jardón <jjardon gnome org>
Date: Tue Nov 10 20:26:59 2009 +0100
Fix compilation warning: Use GDK_GPOINTER_TO_NATIVE_WINDOW() macro
gtk/gtkwindow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index ffd9d8a..1163fb8 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 = 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]