From 6b712ac93b2c73f59990163b8ea00372cf7ef8b7 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 14 Apr 2011 15:28:21 +0200 Subject: [PATCH] window: cast value so gcc shuts up --- gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index fea7f06657..ae2aa688af 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