aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-view.c
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2005-07-20 13:38:52 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-07-20 13:38:52 +0800
commitdd4194325e2ac7664af8d1ed990987beae0aeeeb (patch)
tree10af85a42580555baeb04e388acaa2625dfefa0f /calendar/gui/e-calendar-view.c
parent3bfdb518bdfbab38ed63c70e8b3e68fe9da422f0 (diff)
downloadgsoc2013-evolution-dd4194325e2ac7664af8d1ed990987beae0aeeeb.tar
gsoc2013-evolution-dd4194325e2ac7664af8d1ed990987beae0aeeeb.tar.gz
gsoc2013-evolution-dd4194325e2ac7664af8d1ed990987beae0aeeeb.tar.bz2
gsoc2013-evolution-dd4194325e2ac7664af8d1ed990987beae0aeeeb.tar.lz
gsoc2013-evolution-dd4194325e2ac7664af8d1ed990987beae0aeeeb.tar.xz
gsoc2013-evolution-dd4194325e2ac7664af8d1ed990987beae0aeeeb.tar.zst
gsoc2013-evolution-dd4194325e2ac7664af8d1ed990987beae0aeeeb.zip
Fixes #309680 Remove the recurrence id only from e_cal_comp.
2005-07-20 Chenthill Palanisamy <pchenthill@novell.com> Fixes #309680 * gui/e-calendar-view.c (on_unrecur_appointment): Remove the recurrence id only from e_cal_comp. svn path=/trunk/; revision=29807
Diffstat (limited to 'calendar/gui/e-calendar-view.c')
-rw-r--r--calendar/gui/e-calendar-view.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c
index df35cccf4b..a02c91e6b5 100644
--- a/calendar/gui/e-calendar-view.c
+++ b/calendar/gui/e-calendar-view.c
@@ -1419,9 +1419,7 @@ on_unrecur_appointment (EPopup *ep, EPopupItem *pitem, void *data)
the start & end times to the instances times. */
new_comp = e_cal_component_new ();
e_cal_component_set_icalcomponent (new_comp, icalcomponent_new_clone (event->comp_data->icalcomp));
- if ((prop = icalcomponent_get_first_property (e_cal_component_get_icalcomponent (new_comp),
- ICAL_RECURRENCEID_PROPERTY)))
- icalcomponent_remove_property (e_cal_component_get_icalcomponent (new_comp), prop);
+
new_uid = e_cal_component_gen_uid ();
e_cal_component_set_uid (new_comp, new_uid);
g_free (new_uid);