From 72bf4300830e8551060dda0ba20fd9dbe07342d3 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Wed, 31 Mar 2010 19:56:54 +0200 Subject: [PATCH] [shell] Fix no-window check in ev_sidebar_menu_position_under() --- 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 bd45f261..23d51f99 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_get_has_window (GTK_WIDGET (user_data))); + g_return_if_fail (!gtk_widget_get_has_window (GTK_WIDGET (user_data))); widget = GTK_WIDGET (user_data); -- 2.43.5