From 131b0099496470abddae9abda7fb50fedf6b4910 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 17 Mar 2010 14:48:12 +0100 Subject: sidebar: fix assertion in empathy_sidebar_menu_position_under For some reason this assertion was done the wrong way. I checked in eog and it's supposed to be done that way (#612557). --- src/empathy-sidebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/empathy-sidebar.c b/src/empathy-sidebar.c index 7960c4ad9..58f5d952c 100644 --- a/src/empathy-sidebar.c +++ b/src/empathy-sidebar.c @@ -241,7 +241,7 @@ empathy_sidebar_menu_position_under (GtkMenu *menu, GtkAllocation allocation; g_return_if_fail (GTK_IS_BUTTON (user_data)); - g_return_if_fail (gtk_widget_get_has_window (user_data)); + g_return_if_fail (!gtk_widget_get_has_window (user_data)); widget = GTK_WIDGET (user_data); -- cgit v1.2.3