empathy r1132 - trunk/libempathy-gtk
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1132 - trunk/libempathy-gtk
- Date: Fri, 30 May 2008 11:58:05 +0000 (UTC)
Author: xclaesse
Date: Fri May 30 11:58:05 2008
New Revision: 1132
URL: http://svn.gnome.org/viewvc/empathy?rev=1132&view=rev
Log:
gtk_widget_set_has_tooltip can't take a value >1 even if it's still TRUE
Modified:
trunk/libempathy-gtk/empathy-contact-list-view.c
Modified: trunk/libempathy-gtk/empathy-contact-list-view.c
==============================================================================
--- trunk/libempathy-gtk/empathy-contact-list-view.c (original)
+++ trunk/libempathy-gtk/empathy-contact-list-view.c Fri May 30 11:58:05 2008
@@ -935,6 +935,7 @@
EmpathyContactListFeatureFlags features)
{
EmpathyContactListViewPriv *priv = GET_PRIV (view);
+ gboolean has_tooltip;
g_return_if_fail (EMPATHY_IS_CONTACT_LIST_VIEW (view));
@@ -964,8 +965,8 @@
}
/* 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]