diff options
Diffstat (limited to 'libempathy/empathy-contact-list.c')
-rw-r--r-- | libempathy/empathy-contact-list.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy/empathy-contact-list.c b/libempathy/empathy-contact-list.c index 65a1edeec..a46fc8db4 100644 --- a/libempathy/empathy-contact-list.c +++ b/libempathy/empathy-contact-list.c @@ -256,12 +256,14 @@ gboolean empathy_contact_list_contact_is_favourite (EmpathyContactList *list, EmpathyContact *contact) { +#if HAVE_FAVOURITE_CONTACTS GList *groups, *l; groups = empathy_contact_list_get_groups (list, contact); for (l = groups; l; l = l->next) if (!g_strcmp0 (l->data, EMPATHY_GROUP_FAVOURITES)) return TRUE; +#endif /* HAVE_FAVOURITE_CONTACTS */ return FALSE; } |