[next] telepathy-glib: remove _tp_connection_get_capabilities_async()

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Wed Jan 29 03:02:20 PST 2014


Module: telepathy-glib
Branch: next
Commit: 81eece52f4fc47aa5e3fe6f75936639d360ef83b
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=81eece52f4fc47aa5e3fe6f75936639d360ef83b

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Fri Jan 24 11:54:36 2014 +0100

remove _tp_connection_get_capabilities_async()

not used any more.

---

 telepathy-glib/connection-internal.h |    6 ------
 telepathy-glib/connection.c          |   19 -------------------
 2 files changed, 25 deletions(-)

diff --git a/telepathy-glib/connection-internal.h b/telepathy-glib/connection-internal.h
index 03a1d9b..245ec2d 100644
--- a/telepathy-glib/connection-internal.h
+++ b/telepathy-glib/connection-internal.h
@@ -125,12 +125,6 @@ void _tp_connection_status_reason_to_gerror (TpConnectionStatusReason reason,
     const gchar **ret_str,
     GError **error);
 
-/* Internal hook to break potential dependency loop between Connection and
- * Contacts */
-void _tp_connection_get_capabilities_async (TpConnection *self,
-    GAsyncReadyCallback callback,
-    gpointer user_data);
-
 gboolean _tp_connection_get_capabilities_finish (TpConnection *self,
     GAsyncResult *result, GError **error);
 
diff --git a/telepathy-glib/connection.c b/telepathy-glib/connection.c
index 70ad478..8bf6811 100644
--- a/telepathy-glib/connection.c
+++ b/telepathy-glib/connection.c
@@ -576,25 +576,6 @@ _tp_connection_do_get_capabilities_async (TpConnection *self,
     }
 }
 
-void
-_tp_connection_get_capabilities_async (TpConnection *self,
-  GAsyncReadyCallback callback,
-  gpointer user_data)
-{
-  GSimpleAsyncResult *result;
-
-  result = g_simple_async_result_new ((GObject *) self, callback, user_data,
-      _tp_connection_get_capabilities_async);
-  _tp_connection_do_get_capabilities_async (self, result);
-}
-
-gboolean
-_tp_connection_get_capabilities_finish (TpConnection *self,
-  GAsyncResult *result, GError **error)
-{
-  _tp_implement_finish_void (self, _tp_connection_get_capabilities_async);
-}
-
 static void
 tp_connection_prepare_capabilities_async (TpProxy *proxy,
     const TpProxyFeature *feature,



More information about the telepathy-commits mailing list