empathy r1132 - trunk/libempathy-gtk



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]