[evince] [shell] Fix no-window check in ev_sidebar_menu_position_under()



commit 72bf4300830e8551060dda0ba20fd9dbe07342d3
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Wed Mar 31 19:56:54 2010 +0200

    [shell] Fix no-window check in ev_sidebar_menu_position_under()

 shell/ev-sidebar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/ev-sidebar.c b/shell/ev-sidebar.c
index bd45f26..23d51f9 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);
 	   



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