diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-06-07 17:50:14 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-06-07 18:04:23 +0800 |
commit | 4da4893bd535d6e122f99300e2f5152d40723bbc (patch) | |
tree | b3fbaef040501dba97675502208c4b10af1e3d01 /libempathy-gtk/empathy-new-account-dialog.c | |
parent | 9d8d7a2e4f9cd772fe69dae15c4c21728e974df3 (diff) | |
download | gsoc2013-empathy-4da4893bd535d6e122f99300e2f5152d40723bbc.tar gsoc2013-empathy-4da4893bd535d6e122f99300e2f5152d40723bbc.tar.gz gsoc2013-empathy-4da4893bd535d6e122f99300e2f5152d40723bbc.tar.bz2 gsoc2013-empathy-4da4893bd535d6e122f99300e2f5152d40723bbc.tar.lz gsoc2013-empathy-4da4893bd535d6e122f99300e2f5152d40723bbc.tar.xz gsoc2013-empathy-4da4893bd535d6e122f99300e2f5152d40723bbc.tar.zst gsoc2013-empathy-4da4893bd535d6e122f99300e2f5152d40723bbc.zip |
account-settings: always use GVariant to store parameters
https://bugzilla.gnome.org/show_bug.cgi?id=677545
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); } |