diff options
author | Jonny Lamb <jonnylamb@gnome.org> | 2011-01-28 21:52:26 +0800 |
---|---|---|
committer | Jonny Lamb <jonnylamb@gnome.org> | 2011-01-28 21:52:26 +0800 |
commit | a8e29279f323a5a1f4fc66a450a633b3415bea4d (patch) | |
tree | b54612258a7bccfdc836bad2767b553994cd24d2 /libempathy/empathy-server-sasl-handler.c | |
parent | fe7c6ed34c96c0b57b0294ccebdab20dd0b702ba (diff) | |
download | gsoc2013-empathy-a8e29279f323a5a1f4fc66a450a633b3415bea4d.tar gsoc2013-empathy-a8e29279f323a5a1f4fc66a450a633b3415bea4d.tar.gz gsoc2013-empathy-a8e29279f323a5a1f4fc66a450a633b3415bea4d.tar.bz2 gsoc2013-empathy-a8e29279f323a5a1f4fc66a450a633b3415bea4d.tar.lz gsoc2013-empathy-a8e29279f323a5a1f4fc66a450a633b3415bea4d.tar.xz gsoc2013-empathy-a8e29279f323a5a1f4fc66a450a633b3415bea4d.tar.zst gsoc2013-empathy-a8e29279f323a5a1f4fc66a450a633b3415bea4d.zip |
keyring: rename current functions to be more specifically about account passwords
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
Diffstat (limited to 'libempathy/empathy-server-sasl-handler.c')
-rw-r--r-- | libempathy/empathy-server-sasl-handler.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libempathy/empathy-server-sasl-handler.c b/libempathy/empathy-server-sasl-handler.c index 3cfc86fa8..4b5683881 100644 --- a/libempathy/empathy-server-sasl-handler.c +++ b/libempathy/empathy-server-sasl-handler.c @@ -124,7 +124,7 @@ empathy_server_sasl_handler_get_password_async_cb (GObject *source, priv = EMPATHY_SERVER_SASL_HANDLER (user_data)->priv; - password = empathy_keyring_get_password_finish (TP_ACCOUNT (source), + password = empathy_keyring_get_account_password_finish (TP_ACCOUNT (source), result, &error); if (password != NULL) @@ -155,7 +155,7 @@ empathy_server_sasl_handler_init_async (GAsyncInitable *initable, priv->async_init_res = g_simple_async_result_new (G_OBJECT (self), callback, user_data, empathy_server_sasl_handler_new_async); - empathy_keyring_get_password_async (priv->account, + empathy_keyring_get_account_password_async (priv->account, empathy_server_sasl_handler_get_password_async_cb, self); } @@ -374,7 +374,7 @@ empathy_server_sasl_handler_set_password_cb (GObject *source, { GError *error = NULL; - if (!empathy_keyring_set_password_finish (TP_ACCOUNT (source), result, + if (!empathy_keyring_set_account_password_finish (TP_ACCOUNT (source), result, &error)) { DEBUG ("Failed to set password: %s", error->message); @@ -416,7 +416,7 @@ empathy_server_sasl_handler_provide_password ( if (remember) { - empathy_keyring_set_password_async (priv->account, password, + empathy_keyring_set_account_password_async (priv->account, password, empathy_server_sasl_handler_set_password_cb, NULL); } } |