From b225b63c2b3c4451dc86b7154abc87cdc5861083 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Wed, 31 Mar 2010 19:34:10 +0200 Subject: [PATCH] Replace GTK_WIDGET_NO_WINDOW() with gtk_widget_get_has_window() --- shell/ev-sidebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/ev-sidebar.c b/shell/ev-sidebar.c index f15b376a..bd45f261 100644 --- a/shell/ev-sidebar.c +++ b/shell/ev-sidebar.c @@ -208,7 +208,7 @@ ev_sidebar_menu_position_under (GtkMenu *menu, GtkWidget *widget; g_return_if_fail (GTK_IS_BUTTON (user_data)); - g_return_if_fail (GTK_WIDGET_NO_WINDOW (user_data)); + g_return_if_fail (gtk_widget_get_has_window (GTK_WIDGET (user_data))); widget = GTK_WIDGET (user_data); -- 2.43.5