[empathy] contact_widget_contact_update: don't call contact_widget_favourites_changed_cb if favorite support i
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] contact_widget_contact_update: don't call contact_widget_favourites_changed_cb if favorite support i
- Date: Mon, 15 Mar 2010 08:32:06 +0000 (UTC)
commit 9f839398aa851f66bcd426f5a1754c7becb8c990
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Mar 10 14:25:49 2010 +0100
contact_widget_contact_update: don't call contact_widget_favourites_changed_cb if favorite support is disabled
libempathy-gtk/empathy-contact-widget.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index 63ea10e..82a5ac7 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]