From 2bb833c06542c6cdde1e9600326a7e4baffa0320 Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Wed, 21 Dec 2005 14:24:23 +0000 Subject: fixes #310734 --- calendar/ChangeLog | 8 ++++++++ calendar/backends/groupwise/e-cal-backend-groupwise-utils.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 48b1fb854..c3a5817cf 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,11 @@ +2005-12-21 Chenthill Palanisamy + + Committing for Damien Carbery + + Fixes #310734 + * backends/groupwise/e-cal-backend-groupwise-utils.c: + (e_gw_item_to_cal_component): Corrected the illegal cast. + 2005-12-21 Chenthill Palanisamy Committing for Damien Carbery diff --git a/calendar/backends/groupwise/e-cal-backend-groupwise-utils.c b/calendar/backends/groupwise/e-cal-backend-groupwise-utils.c index 5d923f4ba..4e57d0cf0 100644 --- a/calendar/backends/groupwise/e-cal-backend-groupwise-utils.c +++ b/calendar/backends/groupwise/e-cal-backend-groupwise-utils.c @@ -614,7 +614,7 @@ e_gw_item_to_cal_component (EGwItem *item, ECalBackendGroupwise *cbgw) alarm = e_cal_component_alarm_new (); e_cal_component_alarm_set_action (alarm, E_CAL_COMPONENT_ALARM_DISPLAY); trigger.type = E_CAL_COMPONENT_ALARM_TRIGGER_RELATIVE_START; - trigger.u.rel_duration = (struct icaldurationtype) icaldurationtype_from_int (alarm_duration); + trigger.u.rel_duration = icaldurationtype_from_int (alarm_duration); e_cal_component_alarm_set_trigger (alarm, trigger); e_cal_component_add_alarm (comp, alarm); } -- cgit v1.2.1