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.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/calendar/gui/calendar-config.c b/calendar/gui/calendar-config.c
index b42b70b69c..fd5dd0f3a3 100644
--- a/calendar/gui/calendar-config.c
+++ b/calendar/gui/calendar-config.c
@@ -676,14 +676,9 @@ on_timezone_set (GnomeDialog *dialog,
int button,
ETimezoneDialog *etd)
{
- const char *display_name;
icaltimezone *zone;
- e_timezone_dialog_get_timezone (etd, &display_name);
-
- /* We know it can only be a builtin timezone, since there is no way
- to set it to anything else. */
- zone = e_timezone_dialog_get_builtin_timezone (display_name);
+ zone = e_timezone_dialog_get_timezone (etd);
if (zone) {
calendar_config_set_timezone (icaltimezone_get_location (zone));