diff options
Diffstat (limited to 'calendar/gui/comp-editor-factory.c')
-rw-r--r-- | calendar/gui/comp-editor-factory.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/calendar/gui/comp-editor-factory.c b/calendar/gui/comp-editor-factory.c index e3904bbbf2..3763bbdb87 100644 --- a/calendar/gui/comp-editor-factory.c +++ b/calendar/gui/comp-editor-factory.c @@ -345,7 +345,6 @@ resolve_pending_requests (OpenClient *oc) CompEditorFactory *factory; CompEditorFactoryPrivate *priv; GSList *l; - char *location; icaltimezone *zone; factory = oc->factory; @@ -355,11 +354,10 @@ resolve_pending_requests (OpenClient *oc) return; /* Set the default timezone in the backend. */ - location = calendar_config_get_timezone (); - zone = icaltimezone_get_builtin_timezone (location); - if (zone) - /* FIXME Error handling? */ - e_cal_set_default_timezone (oc->client, zone, NULL); + zone = calendar_config_get_icaltimezone (); + + /* FIXME Error handling? */ + e_cal_set_default_timezone (oc->client, zone, NULL); for (l = oc->pending; l; l = l->next) { Request *request; |