aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-sidebar.c2
1 files changed, 1 insertions, 1 deletions
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);