From 1c97f91cc4acd3b33f78740892726507211215f5 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Mon, 19 Aug 2002 22:06:30 +0000 Subject: clone the ical component before adding it 2002-08-20 JP Rosevear * gui/itip-utils.c (comp_toplevel_with_zones): clone the ical component before adding it Fixes #29061 svn path=/trunk/; revision=17810 --- calendar/ChangeLog | 11 +++++++++++ calendar/gui/itip-utils.c | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'calendar') 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 + * gui/itip-utils.c (comp_toplevel_with_zones): clone the ical + component before adding it + + Fixes #29061 + +2002-08-20 JP Rosevear + * 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 * 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 * 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; -- cgit v1.2.3