diff options
Diffstat (limited to 'libempathy-gtk')
-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, |