diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-03-05 19:36:55 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-03-09 15:51:24 +0000 |
commit | 0c7e8cb86c9f47d043fbdb598c0efdb87cbcba17 (patch) | |
tree | 07d3b6e5ad501b5889a66df64ed165bfafb8d9eb /telepathy-glib/connection-manager.h | |
parent | b455b394c152fbad69fcd743c2882469e2dec73f (diff) | |
download | telepathy-glib-0c7e8cb86c9f47d043fbdb598c0efdb87cbcba17.tar.gz |
tp_list_connection_managers_async: add
This is a modern, bindable version of tp_list_connection_managers(),
which has been noted not to work in Python.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46358
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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/telepathy-glib/connection-manager.h b/telepathy-glib/connection-manager.h index 423b051e1..742edbeeb 100644 --- a/telepathy-glib/connection-manager.h +++ b/telepathy-glib/connection-manager.h @@ -117,6 +117,12 @@ void tp_list_connection_managers (TpDBusDaemon *bus_daemon, gpointer user_data, GDestroyNotify destroy, GObject *weak_object); +void tp_list_connection_managers_async (TpDBusDaemon *dbus_daemon, + GAsyncReadyCallback callback, + gpointer user_data); +GList *tp_list_connection_managers_finish (GAsyncResult *result, + GError **error); + #ifndef TP_DISABLE_DEPRECATED typedef void (*TpConnectionManagerWhenReadyCb) (TpConnectionManager *cm, const GError *error, gpointer user_data, GObject *weak_object); |