aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/e-day-view.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index c9a0f2582d..f7c57a5e0b 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,4 +1,10 @@
+2004-12-26 Rodrigo Moya <rodrigo@novell.com>
+
+ * gui/e-day-view.c (e_day_view_remove_event_cb): set fields we
+ free to NULL.
+
2004-12-24 Harish Krishnaswamy <kharish@novell.com>
+
* gui/dialogs/event-editor.c (event_editor_edit_comp):
Check for the existence of the meet/sched pages before
attempting to remove them.
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index 89122753eb..0ea43ba498 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -1736,6 +1736,7 @@ e_day_view_remove_event_cb (EDayView *day_view,
gtk_object_destroy (GTK_OBJECT (event->canvas_item));
e_cal_model_free_component_data (event->comp_data);
+ event->comp_data = NULL;
if (day == E_DAY_VIEW_LONG_EVENT) {
g_array_remove_index (day_view->long_events, event_num);