diff options
Diffstat (limited to 'libempathy-gtk/empathy-new-account-dialog.c')
-rw-r--r-- | libempathy-gtk/empathy-new-account-dialog.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-new-account-dialog.c b/libempathy-gtk/empathy-new-account-dialog.c index ed09be829..c36cfcfce 100644 --- a/libempathy-gtk/empathy-new-account-dialog.c +++ b/libempathy-gtk/empathy-new-account-dialog.c @@ -66,11 +66,11 @@ protocol_changed_cb (GtkComboBox *chooser, /* Save "account" and "password" parameters */ if (self->priv->settings != NULL) { - account = g_strdup (empathy_account_settings_get_string ( - self->priv->settings, "account")); + account = empathy_account_settings_dup_string ( + self->priv->settings, "account"); - password = g_strdup (empathy_account_settings_get_string ( - self->priv->settings, "password")); + password = empathy_account_settings_dup_string ( + self->priv->settings, "password"); g_object_unref (self->priv->settings); } |