aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-cal-config.c')
-rw-r--r--calendar/gui/e-cal-config.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/calendar/gui/e-cal-config.c b/calendar/gui/e-cal-config.c
index 0454706fec..10dc316ffa 100644
--- a/calendar/gui/e-cal-config.c
+++ b/calendar/gui/e-cal-config.c
@@ -56,7 +56,6 @@ ecp_target_free (EConfig *ec, EConfigTarget *t)
}
break; }
case EC_CONFIG_TARGET_PREFS: {
- /* ECalConfigTargetPrefs *s = (ECalConfigTargetPrefs *)t; */
break; }
}
}
@@ -155,13 +154,11 @@ e_cal_config_target_new_source (ECalConfig *ecp, struct _ESource *source)
}
ECalConfigTargetPrefs *
-e_cal_config_target_new_prefs (ECalConfig *ecp, struct _GConfClient *gconf)
+e_cal_config_target_new_prefs (ECalConfig *ecp)
{
ECalConfigTargetPrefs *t = e_config_target_new (&ecp->config, EC_CONFIG_TARGET_PREFS, sizeof (*t));
- t->gconf = gconf;
- if (gconf)
- g_object_ref (gconf);
+ t->gconf = gconf_client_get_default ();
return t;
}