aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-05-30 19:58:05 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-05-30 19:58:05 +0800
commit347d1e3052284782519f0fac530a1dfac4b1ee28 (patch)
treeb28d9086ac898270845ecd1db09d7ddb573fabbf
parent00160ff5ab516aa40789b2087a9bac20c55dff50 (diff)
downloadgsoc2013-empathy-347d1e3052284782519f0fac530a1dfac4b1ee28.tar
gsoc2013-empathy-347d1e3052284782519f0fac530a1dfac4b1ee28.tar.gz
gsoc2013-empathy-347d1e3052284782519f0fac530a1dfac4b1ee28.tar.bz2
gsoc2013-empathy-347d1e3052284782519f0fac530a1dfac4b1ee28.tar.lz
gsoc2013-empathy-347d1e3052284782519f0fac530a1dfac4b1ee28.tar.xz
gsoc2013-empathy-347d1e3052284782519f0fac530a1dfac4b1ee28.tar.zst
gsoc2013-empathy-347d1e3052284782519f0fac530a1dfac4b1ee28.zip
gtk_widget_set_has_tooltip can't take a value >1 even if it's still TRUE
svn path=/trunk/; revision=1132
-rw-r--r--libempathy-gtk/empathy-contact-list-view.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c
index 3443950de..56d5eb1a1 100644
--- a/libempathy-gtk/empathy-contact-list-view.c
+++ b/libempathy-gtk/empathy-contact-list-view.c
@@ -935,6 +935,7 @@ contact_list_view_set_list_features (EmpathyContactListView *view,
EmpathyContactListFeatureFlags features)
{
EmpathyContactListViewPriv *priv = GET_PRIV (view);
+ gboolean has_tooltip;
g_return_if_fail (EMPATHY_IS_CONTACT_LIST_VIEW (view));
@@ -964,8 +965,8 @@ contact_list_view_set_list_features (EmpathyContactListView *view,
}
/* Update has-tooltip */
- gtk_widget_set_has_tooltip (GTK_WIDGET (view),
- features & EMPATHY_CONTACT_LIST_FEATURE_CONTACT_TOOLTIP);
+ has_tooltip = (features & EMPATHY_CONTACT_LIST_FEATURE_CONTACT_TOOLTIP) != 0;
+ gtk_widget_set_has_tooltip (GTK_WIDGET (view), has_tooltip);
}
static void