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-account-settings.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-account-settings.c')
-rw-r--r-- | libempathy/empathy-account-settings.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c index 8c673dfcf..1d2379fe5 100644 --- a/libempathy/empathy-account-settings.c +++ b/libempathy/empathy-account-settings.c @@ -434,7 +434,7 @@ empathy_account_settings_get_password_cb (GObject *source, const gchar *password; GError *error = NULL; - password = empathy_keyring_get_password_finish (TP_ACCOUNT (source), + password = empathy_keyring_get_account_password_finish (TP_ACCOUNT (source), result, &error); if (error != NULL) @@ -467,7 +467,7 @@ empathy_account_settings_migrate_password_cb (GObject *source, GHashTable *empty; const gchar *unset[] = { "password", NULL }; - if (!empathy_keyring_set_password_finish (account, result, &error)) + if (!empathy_keyring_set_account_password_finish (account, result, &error)) { DEBUG ("Failed to set password: %s", error->message); g_clear_error (&error); @@ -513,7 +513,7 @@ empathy_account_settings_try_migrating_password (EmpathyAccountSettings *self) if (EMP_STR_EMPTY (password)) return; - empathy_keyring_set_password_async (priv->account, password, + empathy_keyring_set_account_password_async (priv->account, password, empathy_account_settings_migrate_password_cb, self); /* We don't want to request the password again, we @@ -624,7 +624,7 @@ empathy_account_settings_check_readyness (EmpathyAccountSettings *self) /* Make this call but don't block on its readiness. We'll signal * if it's updated later with ::password-retrieved. */ - empathy_keyring_get_password_async (priv->account, + empathy_keyring_get_account_password_async (priv->account, empathy_account_settings_get_password_cb, self); } @@ -1401,7 +1401,7 @@ empathy_account_settings_set_password_cb (GObject *source, gpointer user_data) { empathy_account_settings_processed_password (source, result, user_data, - empathy_keyring_set_password_finish); + empathy_keyring_set_account_password_finish); } static void @@ -1410,7 +1410,7 @@ empathy_account_settings_delete_password_cb (GObject *source, gpointer user_data) { empathy_account_settings_processed_password (source, result, user_data, - empathy_keyring_delete_password_finish); + empathy_keyring_delete_account_password_finish); } static void @@ -1437,12 +1437,12 @@ empathy_account_settings_account_updated (GObject *source, { if (priv->password != NULL) { - empathy_keyring_set_password_async (priv->account, priv->password, + empathy_keyring_set_account_password_async (priv->account, priv->password, empathy_account_settings_set_password_cb, settings); } else { - empathy_keyring_delete_password_async (priv->account, + empathy_keyring_delete_account_password_async (priv->account, empathy_account_settings_delete_password_cb, settings); } |