summaryrefslogtreecommitdiff
path: root/libempathy/empathy-tp-chat.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-01 12:58:52 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-03 10:53:34 +0200
commit4e5ccb224018c01ba381259cbfe9c54e78082d3f (patch)
tree1c8d581783fd5d9263bfc4b344746579eaf9e25d /libempathy/empathy-tp-chat.c
parentce0e19ff736d76b8064a006f8b8bf4c1baabda1b (diff)
remove empathy_tp_chat_join()
https://bugzilla.gnome.org/show_bug.cgi?id=675229
Diffstat (limited to 'libempathy/empathy-tp-chat.c')
-rw-r--r--libempathy/empathy-tp-chat.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c
index 4069da48..9d869809 100644
--- a/libempathy/empathy-tp-chat.c
+++ b/libempathy/empathy-tp-chat.c
@@ -1458,38 +1458,6 @@ empathy_tp_chat_leave (EmpathyTpChat *self,
message, tp_channel_leave_async_cb, self);
}
-static void
-add_members_cb (TpChannel *proxy,
- const GError *error,
- gpointer user_data,
- GObject *weak_object)
-{
- EmpathyTpChat *self = (EmpathyTpChat *) weak_object;
-
- if (error != NULL)
- {
- DEBUG ("Failed to join chat (%s): %s",
- tp_channel_get_identifier ((TpChannel *) self), error->message);
- }
-}
-
-void
-empathy_tp_chat_join (EmpathyTpChat *self)
-{
- TpHandle self_handle;
- GArray *members;
-
- self_handle = tp_channel_group_get_self_handle ((TpChannel *) self);
-
- members = g_array_sized_new (FALSE, FALSE, sizeof (TpHandle), 1);
- g_array_append_val (members, self_handle);
-
- tp_cli_channel_interface_group_call_add_members ((TpChannel *) self, -1,
- members, "", add_members_cb, NULL, NULL, G_OBJECT (self));
-
- g_array_unref (members);
-}
-
gboolean
empathy_tp_chat_is_invited (EmpathyTpChat *self,
TpHandle *inviter)