diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2009-08-07 03:13:09 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-08-22 21:21:07 +0800 |
commit | 23d4544855656cfdc9cf65ed94801191002e86ce (patch) | |
tree | acd1bd52f087e5ffb8b7621303e005ff2edea23b /libempathy/empathy-account.h | |
parent | a4f73e80b9f3015356fd0ee7d33fc0c7a8a21c8c (diff) | |
download | gsoc2013-empathy-23d4544855656cfdc9cf65ed94801191002e86ce.tar gsoc2013-empathy-23d4544855656cfdc9cf65ed94801191002e86ce.tar.gz gsoc2013-empathy-23d4544855656cfdc9cf65ed94801191002e86ce.tar.bz2 gsoc2013-empathy-23d4544855656cfdc9cf65ed94801191002e86ce.tar.lz gsoc2013-empathy-23d4544855656cfdc9cf65ed94801191002e86ce.tar.xz gsoc2013-empathy-23d4544855656cfdc9cf65ed94801191002e86ce.tar.zst gsoc2013-empathy-23d4544855656cfdc9cf65ed94801191002e86ce.zip |
Make the set_enabled API async
Diffstat (limited to 'libempathy/empathy-account.h')
-rw-r--r-- | libempathy/empathy-account.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libempathy/empathy-account.h b/libempathy/empathy-account.h index 6351c9316..f88ac43e4 100644 --- a/libempathy/empathy-account.h +++ b/libempathy/empathy-account.h @@ -67,8 +67,11 @@ const gchar *empathy_account_get_connection_manager (EmpathyAccount *account); const gchar *empathy_account_get_protocol (EmpathyAccount *account); const gchar *empathy_account_get_icon_name (EmpathyAccount *account); -void empathy_account_set_enabled (EmpathyAccount *account, - gboolean enabled); +void empathy_account_set_enabled_async (EmpathyAccount *account, + gboolean enabled, GAsyncReadyCallback callback, gpointer user_data); +gboolean empathy_account_set_enabled_finish (EmpathyAccount *account, + GAsyncResult *result, GError **error); + gboolean empathy_account_is_enabled (EmpathyAccount *account); gboolean empathy_account_is_valid (EmpathyAccount *account); |