aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-12-18 04:07:22 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-12-18 04:07:22 +0800
commit95e875ecf4b48f84fe6b9dd475669396a9609e20 (patch)
tree616a66a004c74e4f5a81a3378a05020899af2a31 /calendar/cal-util
parent4418d0b09aba4c26aa5cd41bbc75310a7aef1ba2 (diff)
downloadgsoc2013-evolution-95e875ecf4b48f84fe6b9dd475669396a9609e20.tar
gsoc2013-evolution-95e875ecf4b48f84fe6b9dd475669396a9609e20.tar.gz
gsoc2013-evolution-95e875ecf4b48f84fe6b9dd475669396a9609e20.tar.bz2
gsoc2013-evolution-95e875ecf4b48f84fe6b9dd475669396a9609e20.tar.lz
gsoc2013-evolution-95e875ecf4b48f84fe6b9dd475669396a9609e20.tar.xz
gsoc2013-evolution-95e875ecf4b48f84fe6b9dd475669396a9609e20.tar.zst
gsoc2013-evolution-95e875ecf4b48f84fe6b9dd475669396a9609e20.zip
use get_real_item (get_refresh_options): uncomment out (get_real_item):
2001-12-17 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (send_item): use get_real_item (get_refresh_options): uncomment out (get_real_item): obtain the real object which has the uid of the item received (show_current_todo): use get_refresh_options for refresh method and provide the description and summary from the real component since its not in the reply (show_current_event): ditto (send_item): use get_real_item 2001-12-17 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (comp_limit_attendees): can't remove properties in an iteration loop, so remove them outside the loop (comp_minimal): don't set a recurid if there isn't one, add the x properties to the clone (comp_compliant): unref the clone for DECLINECOUNTER * gui/e-itip-control.c (get_refresh_options): make function available again (show_current_event): use it here (ok_clicked_cb): can't remove properties in an iteration loop, so remove them outside the loop * cal-util/cal-component.c (free_icalcomponent): properly free the attendee list (cal_component_rescan): don't destroy the alarm hash svn path=/trunk/; revision=15136
Diffstat (limited to 'calendar/cal-util')
-rw-r--r--calendar/cal-util/cal-component.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/calendar/cal-util/cal-component.c b/calendar/cal-util/cal-component.c
index eeb51c79f6..513c98673e 100644
--- a/calendar/cal-util/cal-component.c
+++ b/calendar/cal-util/cal-component.c
@@ -275,7 +275,8 @@ static void
free_icalcomponent (CalComponent *comp, gboolean free)
{
CalComponentPrivate *priv;
-
+ GSList *l;
+
priv = comp->priv;
if (!priv->icalcomp)
@@ -294,6 +295,11 @@ free_icalcomponent (CalComponent *comp, gboolean free)
priv->status = NULL;
+ for (l = priv->attendee_list; l != NULL; l = l->next)
+ g_free (l->data);
+ g_slist_free (priv->attendee_list);
+ priv->attendee_list = NULL;
+
priv->categories = NULL;
priv->classification = NULL;
@@ -1078,9 +1084,8 @@ cal_component_rescan (CalComponent *comp)
/* Clear everything out */
free_icalcomponent (comp, FALSE);
- g_hash_table_destroy (priv->alarm_uid_hash);
- priv->alarm_uid_hash = NULL;
+ /* Rescan */
scan_icalcomponent (comp);
ensure_mandatory_properties (comp);
}