[gtk+/xi2: 132/148] Fix compiler warning.



commit ffdb7b190b28faa82df7bb520ee9a8b5711a024a
Author: Carlos Garnacho <carlos gnome org>
Date:   Fri Dec 4 10:28:22 2009 +0100

    Fix compiler warning.

 gtk/gtkwidget.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 74fcec0..9e061da 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -11130,7 +11130,7 @@ convert_event_to_motion (GdkEvent *event)
 {
   GdkEventMotion *new_event;
 
-  new_event = gdk_event_new (GDK_MOTION_NOTIFY);
+  new_event = (GdkEventMotion *) gdk_event_new (GDK_MOTION_NOTIFY);
 
   switch (event->type)
     {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]