summaryrefslogtreecommitdiff
path: root/telepathy-glib/connection-manager.h
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-03-05 14:32:49 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-03-06 10:36:53 +0000
commit8d80ec6b2c5b6b9fb8753a5ec512f213b096304e (patch)
treeb46b9e221b40c4c79a9be0d39fab187ef23e2880 /telepathy-glib/connection-manager.h
parentdb40ebdb33258f70164cf60bd5a41640dbc0fb93 (diff)
downloadtelepathy-glib-8d80ec6b2c5b6b9fb8753a5ec512f213b096304e.tar.gz
Deprecate tp_connection_manager_call_when_ready and is_ready
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=45842 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'telepathy-glib/connection-manager.h')
-rw-r--r--telepathy-glib/connection-manager.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/telepathy-glib/connection-manager.h b/telepathy-glib/connection-manager.h
index e19049b6f..423b051e1 100644
--- a/telepathy-glib/connection-manager.h
+++ b/telepathy-glib/connection-manager.h
@@ -117,15 +117,20 @@ void tp_list_connection_managers (TpDBusDaemon *bus_daemon,
gpointer user_data, GDestroyNotify destroy,
GObject *weak_object);
+#ifndef TP_DISABLE_DEPRECATED
typedef void (*TpConnectionManagerWhenReadyCb) (TpConnectionManager *cm,
const GError *error, gpointer user_data, GObject *weak_object);
void tp_connection_manager_call_when_ready (TpConnectionManager *self,
TpConnectionManagerWhenReadyCb callback,
- gpointer user_data, GDestroyNotify destroy, GObject *weak_object);
+ gpointer user_data, GDestroyNotify destroy, GObject *weak_object)
+ _TP_GNUC_DEPRECATED_FOR (tp_proxy_prepare_async);
+
+gboolean tp_connection_manager_is_ready (TpConnectionManager *self)
+ _TP_GNUC_DEPRECATED_FOR (tp_proxy_is_prepared);
+#endif
const gchar *tp_connection_manager_get_name (TpConnectionManager *self);
-gboolean tp_connection_manager_is_ready (TpConnectionManager *self);
gboolean tp_connection_manager_is_running (TpConnectionManager *self);
TpCMInfoSource tp_connection_manager_get_info_source (
TpConnectionManager *self);