aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2002-08-20 06:06:30 +0800
committerJP Rosevear <jpr@src.gnome.org>2002-08-20 06:06:30 +0800
commit1c97f91cc4acd3b33f78740892726507211215f5 (patch)
tree4698a464fc1d0dbb56ec4c79cc525ac2e839222f /calendar/gui
parentbec1f9008583025c74363280d9aadcf99e9ddfac (diff)
downloadgsoc2013-evolution-1c97f91cc4acd3b33f78740892726507211215f5.tar
gsoc2013-evolution-1c97f91cc4acd3b33f78740892726507211215f5.tar.gz
gsoc2013-evolution-1c97f91cc4acd3b33f78740892726507211215f5.tar.bz2
gsoc2013-evolution-1c97f91cc4acd3b33f78740892726507211215f5.tar.lz
gsoc2013-evolution-1c97f91cc4acd3b33f78740892726507211215f5.tar.xz
gsoc2013-evolution-1c97f91cc4acd3b33f78740892726507211215f5.tar.zst
gsoc2013-evolution-1c97f91cc4acd3b33f78740892726507211215f5.zip
clone the ical component before adding it
2002-08-20 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (comp_toplevel_with_zones): clone the ical component before adding it Fixes #29061 svn path=/trunk/; revision=17810
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/itip-utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index 8e0879833f..b571459d7d 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -310,7 +310,8 @@ comp_toplevel_with_zones (CalComponentItipMethod method, CalComponent *comp, Cal
icalcomponent_add_property (top_level, prop);
icomp = cal_component_get_icalcomponent (comp);
-
+ icomp = icalcomponent_new_clone (icomp);
+
tz_data.tzids = g_hash_table_new (g_str_hash, g_str_equal);
tz_data.icomp = top_level;
tz_data.client = client;