From 17ea6835fe9245e2969f7e777e5078a44807abd8 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 6 Mar 2013 06:45:27 -0500 Subject: itip_send_comp: Obtain the default timezone from the ECalClient. --- calendar/gui/itip-utils.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'calendar/gui') diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c index f758574c59..3dd3485256 100644 --- a/calendar/gui/itip-utils.c +++ b/calendar/gui/itip-utils.c @@ -1678,12 +1678,11 @@ itip_send_comp (ESourceRegistry *registry, shell = e_shell_get_default (); shell_settings = e_shell_get_shell_settings (shell); - default_zone = e_shell_settings_get_pointer ( - shell_settings, "cal-timezone"); - use_24_hour_format = e_shell_settings_get_boolean ( shell_settings, "cal-use-24-hour-format"); + default_zone = e_cal_client_get_default_timezone (cal_client); + /* check whether backend could handle auto-saving requests/updates */ if (method != E_CAL_COMPONENT_METHOD_PUBLISH && e_cal_client_check_save_schedules (cal_client)) return TRUE; -- cgit v1.2.3