diff options
Diffstat (limited to 'calendar/gui/comp-util.c')
-rw-r--r-- | calendar/gui/comp-util.c | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/calendar/gui/comp-util.c b/calendar/gui/comp-util.c index 82f92e055a..c0935ca4e5 100644 --- a/calendar/gui/comp-util.c +++ b/calendar/gui/comp-util.c @@ -157,12 +157,14 @@ cal_comp_util_compare_event_timezones (ECalComponent *comp, goto out; if (start_datetime.value) { - offset1 = icaltimezone_get_utc_offset (start_zone, - start_datetime.value, - NULL); - offset2 = icaltimezone_get_utc_offset (zone, - start_datetime.value, - NULL); + offset1 = icaltimezone_get_utc_offset ( + start_zone, + start_datetime.value, + NULL); + offset2 = icaltimezone_get_utc_offset ( + zone, + start_datetime.value, + NULL); if (offset1 != offset2) goto out; } @@ -172,12 +174,14 @@ cal_comp_util_compare_event_timezones (ECalComponent *comp, goto out; if (end_datetime.value) { - offset1 = icaltimezone_get_utc_offset (end_zone, - end_datetime.value, - NULL); - offset2 = icaltimezone_get_utc_offset (zone, - end_datetime.value, - NULL); + offset1 = icaltimezone_get_utc_offset ( + end_zone, + end_datetime.value, + NULL); + offset2 = icaltimezone_get_utc_offset ( + zone, + end_datetime.value, + NULL); if (offset1 != offset2) goto out; } |