diff options
Diffstat (limited to 'calendar/gui/e-cal-list-view-config.c')
-rw-r--r-- | calendar/gui/e-cal-list-view-config.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/calendar/gui/e-cal-list-view-config.c b/calendar/gui/e-cal-list-view-config.c index e7d82230df..72c97455c6 100644 --- a/calendar/gui/e-cal-list-view-config.c +++ b/calendar/gui/e-cal-list-view-config.c @@ -159,17 +159,10 @@ e_cal_list_view_config_get_view (ECalListViewConfig *view_config) static void set_timezone (ECalListView *list_view) { - char *location; icaltimezone *zone; - location = calendar_config_get_timezone (); - zone = icaltimezone_get_builtin_timezone (location); - if (!zone) - zone = icaltimezone_get_utc_timezone (); - + zone = calendar_config_get_icaltimezone (); e_calendar_view_set_timezone (E_CALENDAR_VIEW (list_view), zone); - - g_free (location); } static void |