aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-17 21:48:12 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-17 21:48:12 +0800
commit131b0099496470abddae9abda7fb50fedf6b4910 (patch)
tree7e5382cb0ea9aa5785d9c8ecaafa0814892e3a46
parente7f1335e41ac72ac24684a8126151745a019c5a7 (diff)
downloadgsoc2013-empathy-131b0099496470abddae9abda7fb50fedf6b4910.tar
gsoc2013-empathy-131b0099496470abddae9abda7fb50fedf6b4910.tar.gz
gsoc2013-empathy-131b0099496470abddae9abda7fb50fedf6b4910.tar.bz2
gsoc2013-empathy-131b0099496470abddae9abda7fb50fedf6b4910.tar.lz
gsoc2013-empathy-131b0099496470abddae9abda7fb50fedf6b4910.tar.xz
gsoc2013-empathy-131b0099496470abddae9abda7fb50fedf6b4910.tar.zst
gsoc2013-empathy-131b0099496470abddae9abda7fb50fedf6b4910.zip
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).
-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);