diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-11-03 22:07:17 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-11-08 20:33:27 +0800 |
commit | 704b05c60943bbb09dcd6d95ba8781431d67978b (patch) | |
tree | 78f2661d650e0c80ddbe176033eba29aaf8901e1 /libempathy-gtk | |
parent | 7457b90af7b993bb34b40abf0cc2e3f605a4efa4 (diff) | |
download | gsoc2013-empathy-704b05c60943bbb09dcd6d95ba8781431d67978b.tar gsoc2013-empathy-704b05c60943bbb09dcd6d95ba8781431d67978b.tar.gz gsoc2013-empathy-704b05c60943bbb09dcd6d95ba8781431d67978b.tar.bz2 gsoc2013-empathy-704b05c60943bbb09dcd6d95ba8781431d67978b.tar.lz gsoc2013-empathy-704b05c60943bbb09dcd6d95ba8781431d67978b.tar.xz gsoc2013-empathy-704b05c60943bbb09dcd6d95ba8781431d67978b.tar.zst gsoc2013-empathy-704b05c60943bbb09dcd6d95ba8781431d67978b.zip |
contact-list-view: use empathy_contact_remove_from_contact_list()
https://bugzilla.gnome.org/show_bug.cgi?id=663327
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-contact-list-view.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c index 1d95baf8e..b1d20f8e5 100644 --- a/libempathy-gtk/empathy-contact-list-view.c +++ b/libempathy-gtk/empathy-contact-list-view.c @@ -2003,7 +2003,6 @@ static void contact_list_view_remove_activate_cb (GtkMenuItem *menuitem, EmpathyContactListView *view) { - EmpathyContactListViewPriv *priv = GET_PRIV (view); EmpathyContact *contact; contact = empathy_contact_list_view_dup_selected (view); @@ -2016,10 +2015,7 @@ contact_list_view_remove_activate_cb (GtkMenuItem *menuitem, text = g_strdup_printf (_("Do you really want to remove the contact '%s'?"), empathy_contact_get_alias (contact)); if (contact_list_view_remove_dialog_show (parent, _("Removing contact"), text)) { - EmpathyContactList *list; - - list = empathy_contact_list_store_get_list_iface (priv->store); - empathy_contact_list_remove (list, contact, ""); + empathy_contact_remove_from_contact_list (contact); } g_free (text); |