aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/e-cal-config.c6
-rw-r--r--calendar/gui/e-cal-config.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/calendar/gui/e-cal-config.c b/calendar/gui/e-cal-config.c
index 8269a1067e..99a2487f98 100644
--- a/calendar/gui/e-cal-config.c
+++ b/calendar/gui/e-cal-config.c
@@ -70,8 +70,8 @@ ecp_target_free (EConfig *ec,
break; }
case EC_CONFIG_TARGET_PREFS: {
ECalConfigTargetPrefs *s = (ECalConfigTargetPrefs *) t;
- if (s->gconf)
- g_object_unref (s->gconf);
+ if (s->settings)
+ g_object_unref (s->settings);
break; }
}
@@ -172,7 +172,7 @@ e_cal_config_target_new_prefs (ECalConfig *ecp)
t = e_config_target_new (
&ecp->config, EC_CONFIG_TARGET_PREFS, sizeof (*t));
- t->gconf = gconf_client_get_default ();
+ t->settings = g_settings_new ("org.gnome.evolution.calendar");
return t;
}
diff --git a/calendar/gui/e-cal-config.h b/calendar/gui/e-cal-config.h
index 582bdf6a53..28109ab394 100644
--- a/calendar/gui/e-cal-config.h
+++ b/calendar/gui/e-cal-config.h
@@ -80,7 +80,7 @@ struct _ECalConfigTargetSource {
struct _ECalConfigTargetPrefs {
EConfigTarget target;
- struct _GConfClient *gconf;
+ GSettings *settings;
};
typedef struct _EConfigItem ECalConfigItem;