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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/calendar/gui/calendar-config.c b/calendar/gui/calendar-config.c
index 85c2e3e60d..15df6920ae 100644
--- a/calendar/gui/calendar-config.c
+++ b/calendar/gui/calendar-config.c
@@ -368,6 +368,7 @@ calendar_config_set_day_second_zone (const gchar *location)
array = g_ptr_array_new ();
for (i = 0, l = lst; i < max_zones && l != NULL; i++, l = l->next)
g_ptr_array_add (array, l->data);
+ g_ptr_array_add (array, NULL);
g_settings_set_strv (config, "day-second-zones", (const gchar * const *) array->pdata);