diff options
Diffstat (limited to 'calendar/gui/e-cal-model-calendar.c')
-rw-r--r-- | calendar/gui/e-cal-model-calendar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/e-cal-model-calendar.c b/calendar/gui/e-cal-model-calendar.c index e41160770a..9fd2db7544 100644 --- a/calendar/gui/e-cal-model-calendar.c +++ b/calendar/gui/e-cal-model-calendar.c @@ -126,8 +126,8 @@ get_dtend (ECalModelComponent *comp_data) comp_data->dtend = g_new0 (ECellDateEditValue, 1); comp_data->dtend->tt = tt_end; - if (e_cal_get_timezone (comp_data->client, icaltime_get_tzid (tt_end), - &zone, NULL)) + if (icaltime_get_tzid (tt_end) + && e_cal_get_timezone (comp_data->client, icaltime_get_tzid (tt_end), &zone, NULL)) comp_data->dtend->zone = zone; else comp_data->dtend->zone = NULL; |