[gtk+/gtk-3-0] window: cast value so gcc shuts up



commit be6d434f7848a9036f62cb97718daf9569f42350
Author: Benjamin Otte <otte redhat com>
Date:   Sat Apr 16 22:51:28 2011 +0200

    window: cast value so gcc shuts up

 gtk/gtkwindow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 186809c..b97418a 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -7395,7 +7395,7 @@ gtk_window_present_with_time (GtkWindow *window,
             {
               GdkDisplay *display;
 
-              display = gtk_widget_get_display (window);
+              display = gtk_widget_get_display (GTK_WIDGET (window));
               timestamp = gdk_x11_display_get_user_time (display);
             }
           else



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