summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2005-12-21 14:24:23 +0000
committerChenthill Palanisamy <pchen@src.gnome.org>2005-12-21 14:24:23 +0000
commit2bb833c06542c6cdde1e9600326a7e4baffa0320 (patch)
treec93bcee32abe82b2f2b0626c01e94717096298ad
parent00433caf1cbd09dfbfaf7a5e9b786e15293cade0 (diff)
downloadevolution-data-server-gnome-2-8.tar.gz
fixes #310734gnome-2-8
-rw-r--r--calendar/ChangeLog8
-rw-r--r--calendar/backends/groupwise/e-cal-backend-groupwise-utils.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 48b1fb854..c3a5817cf 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,6 +1,14 @@
2005-12-21 Chenthill Palanisamy <pchenthill@novell.com>
Committing for Damien Carbery <damien.carbery@sun.com>
+
+ 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 <pchenthill@novell.com>
+
+ Committing for Damien Carbery <damien.carbery@sun.com>
Fixes #310504
* backends/file/e-cal-backend-file-events.c:
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);
}