diff options
author | Rodrigo Moya <rodrigo@novell.com> | 2004-12-27 20:37:39 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2004-12-27 20:37:39 +0800 |
commit | a5f55d492ee468b7d9be7ab979d4bf7a0c1046c6 (patch) | |
tree | 0696dae9e18e0e045a272491f8fa2b3c2741fab5 /calendar | |
parent | 3a53893a829d00746c2d51cd1397e54126a8b852 (diff) | |
download | gsoc2013-evolution-a5f55d492ee468b7d9be7ab979d4bf7a0c1046c6.tar gsoc2013-evolution-a5f55d492ee468b7d9be7ab979d4bf7a0c1046c6.tar.gz gsoc2013-evolution-a5f55d492ee468b7d9be7ab979d4bf7a0c1046c6.tar.bz2 gsoc2013-evolution-a5f55d492ee468b7d9be7ab979d4bf7a0c1046c6.tar.lz gsoc2013-evolution-a5f55d492ee468b7d9be7ab979d4bf7a0c1046c6.tar.xz gsoc2013-evolution-a5f55d492ee468b7d9be7ab979d4bf7a0c1046c6.tar.zst gsoc2013-evolution-a5f55d492ee468b7d9be7ab979d4bf7a0c1046c6.zip |
set fields we free to NULL.
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.
svn path=/trunk/; revision=28202
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/gui/e-day-view.c | 1 |
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); |