diff options
author | Jonny Lamb <jonnylamb@gnome.org> | 2010-12-22 19:58:38 +0800 |
---|---|---|
committer | Jonny Lamb <jonnylamb@gnome.org> | 2011-01-26 21:38:53 +0800 |
commit | bd5957d475411222883d93a87dd228a2ce20b2a0 (patch) | |
tree | a621d5c939abe4c2bc032e01b8d9818206fbaa55 /libempathy/empathy-account-settings.c | |
parent | e5af6097c501be691a8a0da4642e9e410f13800d (diff) | |
download | gsoc2013-empathy-bd5957d475411222883d93a87dd228a2ce20b2a0.tar gsoc2013-empathy-bd5957d475411222883d93a87dd228a2ce20b2a0.tar.gz gsoc2013-empathy-bd5957d475411222883d93a87dd228a2ce20b2a0.tar.bz2 gsoc2013-empathy-bd5957d475411222883d93a87dd228a2ce20b2a0.tar.lz gsoc2013-empathy-bd5957d475411222883d93a87dd228a2ce20b2a0.tar.xz gsoc2013-empathy-bd5957d475411222883d93a87dd228a2ce20b2a0.tar.zst gsoc2013-empathy-bd5957d475411222883d93a87dd228a2ce20b2a0.zip |
account-settings: use tp_account_get_path_suffix
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
Diffstat (limited to 'libempathy/empathy-account-settings.c')
-rw-r--r-- | libempathy/empathy-account-settings.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c index 163fc4dcf..e0474e99a 100644 --- a/libempathy/empathy-account-settings.c +++ b/libempathy/empathy-account-settings.c @@ -425,7 +425,7 @@ empathy_account_settings_try_migrating_password (EmpathyAccountSettings *self) { EmpathyAccountSettingsPriv *priv = GET_PRIV (self); const GValue *v; - const gchar *account_id, *password; + const gchar *password; const gchar *unset[] = { "password", NULL }; GHashTable *empty; @@ -436,11 +436,9 @@ empathy_account_settings_try_migrating_password (EmpathyAccountSettings *self) /* mission-control still has our password, although the CM * supports SASL. Let's try migrating it. */ - account_id = tp_proxy_get_object_path (priv->account) - + strlen (TP_ACCOUNT_OBJECT_PATH_BASE); - DEBUG ("Trying to migrate password parameter from MC to the " - "keyring ourselves for account %s", account_id); + "keyring ourselves for account %s", + tp_account_get_path_suffix (priv->account)); v = empathy_account_settings_get (self, "password"); |