[gtk+] window: cast value so gcc shuts up



commit 6b712ac93b2c73f59990163b8ea00372cf7ef8b7
Author: Benjamin Otte <otte redhat com>
Date:   Thu Apr 14 15:28:21 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 fea7f06..ae2aa68 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]