summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-05-07 16:09:09 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-05-07 16:42:50 +0100
commit1d4848ed469ecd536a975c064c73649ab5d5f292 (patch)
tree602ffe19b4980fc13581db4c3288bb62ad62b7f2
parent23203206ccdb31717624a930f0f94d79b2b28819 (diff)
tp_base_connection_dbus_request_handles: remove from public API
This function only existed for the benefit of some questionable functionality in Gabble, which we removed back in 2009. Time for it to go! Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
-rw-r--r--docs/reference/telepathy-glib-sections.txt1
-rw-r--r--telepathy-glib/base-connection.c17
-rw-r--r--telepathy-glib/base-connection.h3
3 files changed, 1 insertions, 20 deletions
diff --git a/docs/reference/telepathy-glib-sections.txt b/docs/reference/telepathy-glib-sections.txt
index 0aebf9cc4..02a616751 100644
--- a/docs/reference/telepathy-glib-sections.txt
+++ b/docs/reference/telepathy-glib-sections.txt
@@ -52,7 +52,6 @@ tp_base_connection_disconnect_with_dbus_error
tp_base_connection_disconnect_with_dbus_error_vardict
tp_base_connection_finish_shutdown
tp_base_connection_add_interfaces
-tp_base_connection_dbus_request_handles
TP_BASE_CONNECTION_ERROR_IF_NOT_CONNECTED
tp_base_connection_register_with_contacts_mixin
tp_base_connection_add_possible_client_interest
diff --git a/telepathy-glib/base-connection.c b/telepathy-glib/base-connection.c
index 597a29ed0..811134b07 100644
--- a/telepathy-glib/base-connection.c
+++ b/telepathy-glib/base-connection.c
@@ -1628,22 +1628,7 @@ tp_base_connection_inspect_handles (TpSvcConnection *iface,
g_free (ret);
}
-/**
- * tp_base_connection_dbus_request_handles: (skip)
- * @iface: A pointer to #TpBaseConnection, cast to a pointer to
- * #TpSvcConnection
- * @handle_type: The handle type (#TpHandleType) as a guint
- * @names: A strv of handle names
- * @context: The dbus-glib method invocation context
- *
- * Implements D-Bus method RequestHandles on interface
- * im.telepathy1.Connection. Exported so subclasses can
- * use it as a basis for their own implementations (for instance,
- * at the time of writing Gabble's GabbleConnection does its own processing
- * for room handles, in order to validate them asynchronously, but delegates
- * to this implementation for all other types).
- */
-void
+static void
tp_base_connection_dbus_request_handles (TpSvcConnection *iface,
guint handle_type,
const gchar **names,
diff --git a/telepathy-glib/base-connection.h b/telepathy-glib/base-connection.h
index 7c1f88d60..86d11fd22 100644
--- a/telepathy-glib/base-connection.h
+++ b/telepathy-glib/base-connection.h
@@ -144,9 +144,6 @@ void tp_base_connection_finish_shutdown (TpBaseConnection *self);
void tp_base_connection_add_interfaces (TpBaseConnection *self,
const gchar **interfaces);
-void tp_base_connection_dbus_request_handles (TpSvcConnection *iface,
- guint handle_type, const gchar **names, DBusGMethodInvocation *context);
-
void tp_base_connection_register_with_contacts_mixin (TpBaseConnection *self);