aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-10 21:25:49 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-15 16:28:43 +0800
commit9f839398aa851f66bcd426f5a1754c7becb8c990 (patch)
treef630db934a684897c170724034e9d596760f58df
parent8af9b4b15e86ed2d7307977ca1d2708d894baaf0 (diff)
downloadgsoc2013-empathy-9f839398aa851f66bcd426f5a1754c7becb8c990.tar
gsoc2013-empathy-9f839398aa851f66bcd426f5a1754c7becb8c990.tar.gz
gsoc2013-empathy-9f839398aa851f66bcd426f5a1754c7becb8c990.tar.bz2
gsoc2013-empathy-9f839398aa851f66bcd426f5a1754c7becb8c990.tar.lz
gsoc2013-empathy-9f839398aa851f66bcd426f5a1754c7becb8c990.tar.xz
gsoc2013-empathy-9f839398aa851f66bcd426f5a1754c7becb8c990.tar.zst
gsoc2013-empathy-9f839398aa851f66bcd426f5a1754c7becb8c990.zip
contact_widget_contact_update: don't call contact_widget_favourites_changed_cb if favorite support is disabled
-rw-r--r--libempathy-gtk/empathy-contact-widget.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index 63ea10ebd..82a5ac703 100644
--- a/libempathy-gtk/empathy-contact-widget.c
+++ b/libempathy-gtk/empathy-contact-widget.c
@@ -1068,6 +1068,7 @@ contact_widget_contact_update (EmpathyContactWidget *information)
contact_widget_presence_notify_cb (information);
contact_widget_avatar_notify_cb (information);
+#if HAVE_FAVOURITE_CONTACTS
if (information->flags & EMPATHY_CONTACT_WIDGET_EDIT_FAVOURITE)
{
gboolean is_favourite;
@@ -1079,6 +1080,7 @@ contact_widget_contact_update (EmpathyContactWidget *information)
contact_widget_favourites_changed_cb (information->manager,
information->contact, is_favourite, information);
}
+#endif
gtk_widget_show (information->label_alias);
gtk_widget_show (information->widget_alias);