aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/calendar-config.c')
-rw-r--r--calendar/gui/calendar-config.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/calendar/gui/calendar-config.c b/calendar/gui/calendar-config.c
index b7822da165..1bc62730ab 100644
--- a/calendar/gui/calendar-config.c
+++ b/calendar/gui/calendar-config.c
@@ -57,7 +57,8 @@ calendar_config_init (void)
config = g_settings_new ("org.gnome.evolution.calendar");
/* will be freed together with EShell */
- g_object_set_data_full (G_OBJECT (e_shell_get_default ()),
+ g_object_set_data_full (
+ G_OBJECT (e_shell_get_default ()),
"calendar-config-config-cleanup", (gpointer) "1",
(GDestroyNotify) do_cleanup);
}
@@ -68,7 +69,7 @@ calendar_config_remove_notification (CalendarConfigChangedFunc func,
{
calendar_config_init ();
- g_signal_handlers_disconnect_by_func (G_OBJECT (config), G_CALLBACK (func), data);
+ g_signal_handlers_disconnect_by_func (config, G_CALLBACK (func), data);
}
/* Returns TRUE if the locale has 'am' and 'pm' strings defined, in which