aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-04-10 19:15:07 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-04-10 19:31:49 +0800
commitb659326acbfa02dab74fd88511673af0ddea81e6 (patch)
treec04a4c74fa958ecc68557d4f8f772f57cb679b51 /libempathy-gtk
parent8e3b02e82557fd35059bc939fab25122cea78be5 (diff)
downloadgsoc2013-empathy-b659326acbfa02dab74fd88511673af0ddea81e6.tar
gsoc2013-empathy-b659326acbfa02dab74fd88511673af0ddea81e6.tar.gz
gsoc2013-empathy-b659326acbfa02dab74fd88511673af0ddea81e6.tar.bz2
gsoc2013-empathy-b659326acbfa02dab74fd88511673af0ddea81e6.tar.lz
gsoc2013-empathy-b659326acbfa02dab74fd88511673af0ddea81e6.tar.xz
gsoc2013-empathy-b659326acbfa02dab74fd88511673af0ddea81e6.tar.zst
gsoc2013-empathy-b659326acbfa02dab74fd88511673af0ddea81e6.zip
implement empathy_tp_chat_add as a method on TpChat
We want to get rid of the EmpathyContactList interface. https://bugzilla.gnome.org/show_bug.cgi?id=673821
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-individual-menu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c
index 22d314882..478170fb3 100644
--- a/libempathy-gtk/empathy-individual-menu.c
+++ b/libempathy-gtk/empathy-individual-menu.c
@@ -1560,8 +1560,7 @@ room_sub_menu_activate_cb (GtkWidget *item,
g_return_if_fail (EMPATHY_IS_CONTACT (contact));
/* send invitation */
- empathy_contact_list_add (EMPATHY_CONTACT_LIST (chat),
- contact, _("Inviting you to this room"));
+ empathy_tp_chat_add (chat, contact, _("Inviting you to this room"));
out:
g_object_unref (contact);