diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-11-02 17:49:01 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-11-08 20:23:16 +0800 |
commit | a7429bd7acc0359d327c8d0f8042dd536dfc1df2 (patch) | |
tree | 9f3170bfe126f0bb24a8937766af3cff07394c8b /libempathy/empathy-contact-list.c | |
parent | 6cb1836a97f35a92e9535e08c7eeeee1bb6ea4e1 (diff) | |
download | gsoc2013-empathy-a7429bd7acc0359d327c8d0f8042dd536dfc1df2.tar gsoc2013-empathy-a7429bd7acc0359d327c8d0f8042dd536dfc1df2.tar.gz gsoc2013-empathy-a7429bd7acc0359d327c8d0f8042dd536dfc1df2.tar.bz2 gsoc2013-empathy-a7429bd7acc0359d327c8d0f8042dd536dfc1df2.tar.lz gsoc2013-empathy-a7429bd7acc0359d327c8d0f8042dd536dfc1df2.tar.xz gsoc2013-empathy-a7429bd7acc0359d327c8d0f8042dd536dfc1df2.tar.zst gsoc2013-empathy-a7429bd7acc0359d327c8d0f8042dd536dfc1df2.zip |
remove old blocking API
https://bugzilla.gnome.org/show_bug.cgi?id=661805
Diffstat (limited to 'libempathy/empathy-contact-list.c')
-rw-r--r-- | libempathy/empathy-contact-list.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/libempathy/empathy-contact-list.c b/libempathy/empathy-contact-list.c index 9e99ba46c..38d0a446a 100644 --- a/libempathy/empathy-contact-list.c +++ b/libempathy/empathy-contact-list.c @@ -236,27 +236,3 @@ empathy_contact_list_get_flags (EmpathyContactList *list) return 0; } } - -void -empathy_contact_list_set_blocked (EmpathyContactList *list, - EmpathyContact *contact, - gboolean blocked, - gboolean abusive) -{ - EmpathyContactListIface *iface = EMPATHY_CONTACT_LIST_GET_IFACE (list); - - if (iface->set_blocked != NULL) - iface->set_blocked (list, contact, blocked, abusive); -} - -gboolean -empathy_contact_list_get_blocked (EmpathyContactList *list, - EmpathyContact *contact) -{ - EmpathyContactListIface *iface = EMPATHY_CONTACT_LIST_GET_IFACE (list); - - if (iface->get_blocked != NULL) - return iface->get_blocked (list, contact); - else - return FALSE; -} |