aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-10-15 04:45:34 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-10-15 04:49:48 +0800
commitd6763a06f6e45f666bcbec3238688156a9b3cbd0 (patch)
treef73c617f31d72fe2f126a11f94becb29c92cc594
parent960bbbe0782c242601ae28fe8f4bfbf67e96e2f3 (diff)
downloadgsoc2013-empathy-d6763a06f6e45f666bcbec3238688156a9b3cbd0.tar
gsoc2013-empathy-d6763a06f6e45f666bcbec3238688156a9b3cbd0.tar.gz
gsoc2013-empathy-d6763a06f6e45f666bcbec3238688156a9b3cbd0.tar.bz2
gsoc2013-empathy-d6763a06f6e45f666bcbec3238688156a9b3cbd0.tar.lz
gsoc2013-empathy-d6763a06f6e45f666bcbec3238688156a9b3cbd0.tar.xz
gsoc2013-empathy-d6763a06f6e45f666bcbec3238688156a9b3cbd0.tar.zst
gsoc2013-empathy-d6763a06f6e45f666bcbec3238688156a9b3cbd0.zip
contact-list: remove favourite API
https://bugzilla.gnome.org/show_bug.cgi?id=661489
-rw-r--r--libempathy/empathy-contact-list.c41
-rw-r--r--libempathy/empathy-contact-list.h16
2 files changed, 0 insertions, 57 deletions
diff --git a/libempathy/empathy-contact-list.c b/libempathy/empathy-contact-list.c
index e532782d5..9e99ba46c 100644
--- a/libempathy/empathy-contact-list.c
+++ b/libempathy/empathy-contact-list.c
@@ -72,15 +72,6 @@ contact_list_base_init (gpointer klass)
5, EMPATHY_TYPE_CONTACT, EMPATHY_TYPE_CONTACT,
G_TYPE_UINT, G_TYPE_STRING, G_TYPE_BOOLEAN);
- g_signal_new ("favourites-changed",
- G_TYPE_FROM_CLASS (klass),
- G_SIGNAL_RUN_LAST,
- 0,
- NULL, NULL,
- g_cclosure_marshal_generic,
- G_TYPE_NONE,
- 2, EMPATHY_TYPE_CONTACT, G_TYPE_BOOLEAN);
-
g_signal_new ("pendings-changed",
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST,
@@ -246,38 +237,6 @@ empathy_contact_list_get_flags (EmpathyContactList *list)
}
}
-gboolean
-empathy_contact_list_is_favourite (EmpathyContactList *list,
- EmpathyContact *contact)
-{
- if (EMPATHY_CONTACT_LIST_GET_IFACE (list)->is_favourite) {
- return EMPATHY_CONTACT_LIST_GET_IFACE (list)->is_favourite (
- list, contact);
- }
-
- return FALSE;
-}
-
-void
-empathy_contact_list_add_to_favourites (EmpathyContactList *list,
- EmpathyContact *contact)
-{
- if (EMPATHY_CONTACT_LIST_GET_IFACE (list)->add_favourite) {
- EMPATHY_CONTACT_LIST_GET_IFACE (list)->add_favourite (list,
- contact);
- }
-}
-
-void
-empathy_contact_list_remove_from_favourites (EmpathyContactList *list,
- EmpathyContact *contact)
-{
- if (EMPATHY_CONTACT_LIST_GET_IFACE (list)->remove_favourite) {
- EMPATHY_CONTACT_LIST_GET_IFACE (list)->remove_favourite (list,
- contact);
- }
-}
-
void
empathy_contact_list_set_blocked (EmpathyContactList *list,
EmpathyContact *contact,
diff --git a/libempathy/empathy-contact-list.h b/libempathy/empathy-contact-list.h
index b36817a93..0e1d6a850 100644
--- a/libempathy/empathy-contact-list.h
+++ b/libempathy/empathy-contact-list.h
@@ -74,12 +74,6 @@ struct _EmpathyContactListIface {
const gchar *group);
EmpathyContactListFlags
(*get_flags) (EmpathyContactList *list);
- gboolean (*is_favourite) (EmpathyContactList *list,
- EmpathyContact *contact);
- void (*add_favourite) (EmpathyContactList *list,
- EmpathyContact *contact);
- void (*remove_favourite) (EmpathyContactList *list,
- EmpathyContact *contact);
void (*set_blocked) (EmpathyContactList *list,
EmpathyContact *contact,
gboolean blocked,
@@ -115,16 +109,6 @@ void empathy_contact_list_remove_group (EmpathyContactList *list,
EmpathyContactListFlags
empathy_contact_list_get_flags (EmpathyContactList *list);
-gboolean empathy_contact_list_is_favourite (EmpathyContactList *list,
- EmpathyContact *contact);
-
-void empathy_contact_list_add_to_favourites (EmpathyContactList *list,
- EmpathyContact *contact);
-
-void empathy_contact_list_remove_from_favourites
- (EmpathyContactList *list,
- EmpathyContact *contact);
-
void empathy_contact_list_set_blocked (EmpathyContactList *list,
EmpathyContact *contact,
gboolean blocked,