aboutsummaryrefslogtreecommitdiffstats
path: root/modules/addressbook
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@gnome-db.org>2011-11-17 23:04:11 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-11-17 23:04:11 +0800
commit4efe4a85d96b9f0c330beb5489c8924f67cdca9f (patch)
treecf0a5fd520d6bc90c471dfd8536714b44b91ac15 /modules/addressbook
parent900d019a0332b24d2bee7ea1407b149fca2c0598 (diff)
downloadgsoc2013-evolution-4efe4a85d96b9f0c330beb5489c8924f67cdca9f.tar
gsoc2013-evolution-4efe4a85d96b9f0c330beb5489c8924f67cdca9f.tar.gz
gsoc2013-evolution-4efe4a85d96b9f0c330beb5489c8924f67cdca9f.tar.bz2
gsoc2013-evolution-4efe4a85d96b9f0c330beb5489c8924f67cdca9f.tar.lz
gsoc2013-evolution-4efe4a85d96b9f0c330beb5489c8924f67cdca9f.tar.xz
gsoc2013-evolution-4efe4a85d96b9f0c330beb5489c8924f67cdca9f.tar.zst
gsoc2013-evolution-4efe4a85d96b9f0c330beb5489c8924f67cdca9f.zip
Migrate all EABConfig* code to use GSettings
Diffstat (limited to 'modules/addressbook')
-rw-r--r--modules/addressbook/autocompletion-config.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/addressbook/autocompletion-config.c b/modules/addressbook/autocompletion-config.c
index 52a9195b44..985eafaff5 100644
--- a/modules/addressbook/autocompletion-config.c
+++ b/modules/addressbook/autocompletion-config.c
@@ -266,7 +266,7 @@ autocompletion_config_new (EPreferencesWindow *window)
EShell *shell;
EABConfig *eab;
EABConfigTargetPrefs *target;
- GConfClient *gconf;
+ GSettings *settings;
shell = e_preferences_window_get_shell (window);
@@ -291,14 +291,14 @@ autocompletion_config_new (EPreferencesWindow *window)
l = g_slist_prepend (l, &acc_items[ii]);
e_config_add_items ((EConfig *) eab, l, acc_free, shell);
- gconf = gconf_client_get_default ();
+ settings = g_settings_new ("org.gnome.evolution.addressbook");
- target = eab_config_target_new_prefs (eab, gconf);
+ target = eab_config_target_new_prefs (eab, settings);
e_config_set_target ((EConfig *) eab, (EConfigTarget *) target);
toplevel = e_config_create_widget ((EConfig *) eab);
gtk_box_pack_start (GTK_BOX (vbox), toplevel, TRUE, TRUE, 0);
- g_object_unref (gconf);
+ g_object_unref (settings);
return vbox;
}