aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-connection-managers.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-22 20:35:35 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-22 20:35:35 +0800
commit07961d71bdc15756e355c701a02856dbcd801bdd (patch)
treeffd9e4b7d03c29382cdd39818d9c20401fdf9aa0 /libempathy/empathy-connection-managers.h
parent90d96b199a4f4e1912403d52f38581e8c86752a1 (diff)
downloadgsoc2013-empathy-07961d71bdc15756e355c701a02856dbcd801bdd.tar
gsoc2013-empathy-07961d71bdc15756e355c701a02856dbcd801bdd.tar.gz
gsoc2013-empathy-07961d71bdc15756e355c701a02856dbcd801bdd.tar.bz2
gsoc2013-empathy-07961d71bdc15756e355c701a02856dbcd801bdd.tar.lz
gsoc2013-empathy-07961d71bdc15756e355c701a02856dbcd801bdd.tar.xz
gsoc2013-empathy-07961d71bdc15756e355c701a02856dbcd801bdd.tar.zst
gsoc2013-empathy-07961d71bdc15756e355c701a02856dbcd801bdd.zip
replace empathy_connection_managers_call_when_ready by prepare_{async_finish} functions
Diffstat (limited to 'libempathy/empathy-connection-managers.h')
-rw-r--r--libempathy/empathy-connection-managers.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/libempathy/empathy-connection-managers.h b/libempathy/empathy-connection-managers.h
index 956f24315..14833734c 100644
--- a/libempathy/empathy-connection-managers.h
+++ b/libempathy/empathy-connection-managers.h
@@ -22,6 +22,7 @@
#define __EMPATHY_CONNECTION_MANAGERS_H__
#include <glib-object.h>
+#include <gio/gio.h>
#include <telepathy-glib/connection-manager.h>
@@ -72,15 +73,15 @@ guint empathy_connection_managers_get_cms_num
TpConnectionManager *empathy_connection_managers_get_cm (
EmpathyConnectionManagers *managers, const gchar *cm);
-typedef void (*EmpathyConnectionManagersWhenReadyCb) (
+void empathy_connection_managers_prepare_async (
EmpathyConnectionManagers *managers,
- const GError *error,
+ GAsyncReadyCallback callback,
gpointer user_data);
-void empathy_connection_managers_call_when_ready (
+gboolean empathy_connection_managers_prepare_finish (
EmpathyConnectionManagers *managers,
- EmpathyConnectionManagersWhenReadyCb callback,
- gpointer user_data);
+ GAsyncResult *result,
+ GError **error);
G_END_DECLS