aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-01 18:58:52 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-03 16:53:34 +0800
commit4e5ccb224018c01ba381259cbfe9c54e78082d3f (patch)
tree1c8d581783fd5d9263bfc4b344746579eaf9e25d /libempathy
parentce0e19ff736d76b8064a006f8b8bf4c1baabda1b (diff)
downloadgsoc2013-empathy-4e5ccb224018c01ba381259cbfe9c54e78082d3f.tar
gsoc2013-empathy-4e5ccb224018c01ba381259cbfe9c54e78082d3f.tar.gz
gsoc2013-empathy-4e5ccb224018c01ba381259cbfe9c54e78082d3f.tar.bz2
gsoc2013-empathy-4e5ccb224018c01ba381259cbfe9c54e78082d3f.tar.lz
gsoc2013-empathy-4e5ccb224018c01ba381259cbfe9c54e78082d3f.tar.xz
gsoc2013-empathy-4e5ccb224018c01ba381259cbfe9c54e78082d3f.tar.zst
gsoc2013-empathy-4e5ccb224018c01ba381259cbfe9c54e78082d3f.zip
remove empathy_tp_chat_join()
https://bugzilla.gnome.org/show_bug.cgi?id=675229
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-chat.c32
-rw-r--r--libempathy/empathy-tp-chat.h1
2 files changed, 0 insertions, 33 deletions
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c
index 4069da484..9d8698096 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)
diff --git a/libempathy/empathy-tp-chat.h b/libempathy/empathy-tp-chat.h
index 5aa949ba2..44f6a240e 100644
--- a/libempathy/empathy-tp-chat.h
+++ b/libempathy/empathy-tp-chat.h
@@ -94,7 +94,6 @@ gboolean empathy_tp_chat_can_add_contact (EmpathyTpChat *self);
void empathy_tp_chat_leave (EmpathyTpChat *chat,
const gchar *message);
-void empathy_tp_chat_join (EmpathyTpChat *chat);
gboolean empathy_tp_chat_is_invited (EmpathyTpChat *chat,
TpHandle *inviter);