diff options
author | JP Rosevear <jpr@ximian.com> | 2002-08-20 06:06:30 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2002-08-20 06:06:30 +0800 |
commit | 1c97f91cc4acd3b33f78740892726507211215f5 (patch) | |
tree | 4698a464fc1d0dbb56ec4c79cc525ac2e839222f | |
parent | bec1f9008583025c74363280d9aadcf99e9ddfac (diff) | |
download | gsoc2013-evolution-1c97f91cc4acd3b33f78740892726507211215f5.tar.gz 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
-rw-r--r-- | calendar/ChangeLog | 11 | ||||
-rw-r--r-- | calendar/gui/itip-utils.c | 3 |
2 files changed, 13 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 2cf9d09cb4..87e4cdd90f 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,8 +1,17 @@ 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 + +2002-08-20 JP Rosevear <jpr@ximian.com> + * gui/comp-editor-factory.c (get_default_event): make sure to get the date in the current zone, not at UTC + Fixes #17692 + 2002-08-19 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (set_date_label): stop adding redundant @@ -12,6 +21,8 @@ line from bolded title to make it look nicer when there are line breaks + Fixes #26964 + 2002-08-16 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.[ch]: added internal EComponentListener 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; |