diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-10-15 04:43:59 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-10-15 04:49:48 +0800 |
commit | 960bbbe0782c242601ae28fe8f4bfbf67e96e2f3 (patch) | |
tree | 8769235adbcae9bcbcdddfb8b6037c26947864f4 | |
parent | 21999bc46228825e289856bd37cb4fdd1afc6131 (diff) | |
download | gsoc2013-empathy-960bbbe0782c242601ae28fe8f4bfbf67e96e2f3.tar gsoc2013-empathy-960bbbe0782c242601ae28fe8f4bfbf67e96e2f3.tar.gz gsoc2013-empathy-960bbbe0782c242601ae28fe8f4bfbf67e96e2f3.tar.bz2 gsoc2013-empathy-960bbbe0782c242601ae28fe8f4bfbf67e96e2f3.tar.lz gsoc2013-empathy-960bbbe0782c242601ae28fe8f4bfbf67e96e2f3.tar.xz gsoc2013-empathy-960bbbe0782c242601ae28fe8f4bfbf67e96e2f3.tar.zst gsoc2013-empathy-960bbbe0782c242601ae28fe8f4bfbf67e96e2f3.zip |
contact-list-store: stop tracking favourite contacts
https://bugzilla.gnome.org/show_bug.cgi?id=661489
-rw-r--r-- | libempathy-gtk/empathy-contact-list-store.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/libempathy-gtk/empathy-contact-list-store.c b/libempathy-gtk/empathy-contact-list-store.c index 6350a0483..4f7398e22 100644 --- a/libempathy-gtk/empathy-contact-list-store.c +++ b/libempathy-gtk/empathy-contact-list-store.c @@ -100,10 +100,6 @@ static void contact_list_store_members_changed_cb (EmpathyCon gchar *message, gboolean is_member, EmpathyContactListStore *store); -static void contact_list_store_favourites_changed_cb (EmpathyContactList *list_iface, - EmpathyContact *contact, - gboolean is_favourite, - EmpathyContactListStore *store); static void contact_list_store_member_renamed_cb (EmpathyContactList *list_iface, EmpathyContact *old_contact, EmpathyContact *new_contact, @@ -208,10 +204,6 @@ contact_list_store_iface_setup (gpointer user_data) G_CALLBACK (contact_list_store_members_changed_cb), store); g_signal_connect (priv->list, - "favourites-changed", - G_CALLBACK (contact_list_store_favourites_changed_cb), - store); - g_signal_connect (priv->list, "groups-changed", G_CALLBACK (contact_list_store_groups_changed_cb), store); @@ -379,9 +371,6 @@ contact_list_store_dispose (GObject *object) G_CALLBACK (contact_list_store_members_changed_cb), object); g_signal_handlers_disconnect_by_func (priv->list, - G_CALLBACK (contact_list_store_favourites_changed_cb), - object); - g_signal_handlers_disconnect_by_func (priv->list, G_CALLBACK (contact_list_store_groups_changed_cb), object); g_object_unref (priv->list); @@ -937,21 +926,6 @@ contact_list_store_members_changed_cb (EmpathyContactList *list_iface, } static void -contact_list_store_favourites_changed_cb (EmpathyContactList *list_iface, - EmpathyContact *contact, - gboolean is_favourite, - EmpathyContactListStore *store) -{ - DEBUG ("Contact %s (%d) is %s a favourite", - empathy_contact_get_id (contact), - empathy_contact_get_handle (contact), - is_favourite ? "now" : "no longer"); - - contact_list_store_remove_contact (store, contact); - contact_list_store_add_contact (store, contact); -} - -static void contact_list_store_member_renamed_cb (EmpathyContactList *list_iface, EmpathyContact *old_contact, EmpathyContact *new_contact, |