[gtk+] window: Fix cast warnings



commit 1c22053bafdec1a969f7c85b084cc29bfa9051c6
Author: Benjamin Otte <otte redhat com>
Date:   Tue Nov 8 14:39:00 2011 +0100

    window: Fix cast warnings

 gtk/gtkwindow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 0d245b3..657f9f8 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -5902,7 +5902,7 @@ gtk_window_button_press_event (GtkWidget *widget,
       if (get_drag_edge (widget, &edge))
         gdk_window_begin_resize_drag_for_device (gtk_widget_get_window (widget),
                                                  edge,
-                                                 gdk_event_get_device (event),
+                                                 gdk_event_get_device ((GdkEvent *) event),
                                                  event->button,
                                                  event->x_root,
                                                  event->y_root,



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