aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/goto.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/goto.c')
-rw-r--r--calendar/gui/goto.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/calendar/gui/goto.c b/calendar/gui/goto.c
index 66c6ecbad4..89d37455ca 100644
--- a/calendar/gui/goto.c
+++ b/calendar/gui/goto.c
@@ -106,14 +106,12 @@ ecal_event (ECalendarItem *calitem, gpointer user_data)
static struct tm
get_current_time (ECalendarItem *calitem, gpointer data)
{
- char *location;
icaltimezone *zone;
struct tm tmp_tm = { 0 };
struct icaltimetype tt;
/* Get the current timezone. */
- location = calendar_config_get_timezone ();
- zone = icaltimezone_get_builtin_timezone (location);
+ zone = calendar_config_get_icaltimezone ();
tt = icaltime_from_timet_with_zone (time (NULL), FALSE, zone);