aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2010-06-20 03:29:51 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2010-06-20 03:29:51 +0800
commit96a20bbc3f491b9f6bfa00401beb4cf24b7a200c (patch)
tree2fd2e9018aae3ba6285cdc5b8a32f3b1fdd19e12 /libempathy
parentfb06bf8e12d112645433eb7ed2bd9ffb82980278 (diff)
downloadgsoc2013-empathy-96a20bbc3f491b9f6bfa00401beb4cf24b7a200c.tar
gsoc2013-empathy-96a20bbc3f491b9f6bfa00401beb4cf24b7a200c.tar.gz
gsoc2013-empathy-96a20bbc3f491b9f6bfa00401beb4cf24b7a200c.tar.bz2
gsoc2013-empathy-96a20bbc3f491b9f6bfa00401beb4cf24b7a200c.tar.lz
gsoc2013-empathy-96a20bbc3f491b9f6bfa00401beb4cf24b7a200c.tar.xz
gsoc2013-empathy-96a20bbc3f491b9f6bfa00401beb4cf24b7a200c.tar.zst
gsoc2013-empathy-96a20bbc3f491b9f6bfa00401beb4cf24b7a200c.zip
Now that we depend on the logger always enable favourite contact support
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-contact-list.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libempathy/empathy-contact-list.c b/libempathy/empathy-contact-list.c
index 5cbe1cb15..631bb4a37 100644
--- a/libempathy/empathy-contact-list.c
+++ b/libempathy/empathy-contact-list.c
@@ -251,12 +251,10 @@ gboolean
empathy_contact_list_is_favourite (EmpathyContactList *list,
EmpathyContact *contact)
{
-#if HAVE_FAVOURITE_CONTACTS
if (EMPATHY_CONTACT_LIST_GET_IFACE (list)->is_favourite) {
return EMPATHY_CONTACT_LIST_GET_IFACE (list)->is_favourite (
list, contact);
}
-#endif /* HAVE_FAVOURITE_CONTACTS */
return FALSE;
}
@@ -265,22 +263,18 @@ void
empathy_contact_list_add_to_favourites (EmpathyContactList *list,
EmpathyContact *contact)
{
-#if HAVE_FAVOURITE_CONTACTS
if (EMPATHY_CONTACT_LIST_GET_IFACE (list)->add_favourite) {
EMPATHY_CONTACT_LIST_GET_IFACE (list)->add_favourite (list,
contact);
}
-#endif /* HAVE_FAVOURITE_CONTACTS */
}
void
empathy_contact_list_remove_from_favourites (EmpathyContactList *list,
EmpathyContact *contact)
{
-#if HAVE_FAVOURITE_CONTACTS
if (EMPATHY_CONTACT_LIST_GET_IFACE (list)->remove_favourite) {
EMPATHY_CONTACT_LIST_GET_IFACE (list)->remove_favourite (list,
contact);
}
-#endif /* HAVE_FAVOURITE_CONTACTS */
}