diff options
author | Milan Crha <mcrha@src.gnome.org> | 2007-08-23 17:18:07 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2007-08-23 17:18:07 +0800 |
commit | c08bea18589e973da6c4f8e8d3ff3c840001e8b7 (patch) | |
tree | d7d639d08b35722ce40c573f1ebc4989f8f1602f /calendar/gui/e-week-view.c | |
parent | 71b50d249c33e7008fd96f789a7de2c0f8879213 (diff) | |
download | gsoc2013-evolution-c08bea18589e973da6c4f8e8d3ff3c840001e8b7.tar.gz gsoc2013-evolution-c08bea18589e973da6c4f8e8d3ff3c840001e8b7.tar.zst gsoc2013-evolution-c08bea18589e973da6c4f8e8d3ff3c840001e8b7.zip |
2007-08-23 mcrha Fix for bug #355864
svn path=/trunk/; revision=34070
Diffstat (limited to 'calendar/gui/e-week-view.c')
-rw-r--r-- | calendar/gui/e-week-view.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index b2a8ccad2f..97e08fe840 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -1920,8 +1920,6 @@ e_week_view_remove_event_cb (EWeekView *week_view, e_cal_model_free_component_data (event->comp_data); event->comp_data = NULL; - g_array_remove_index (week_view->events, event_num); - /* We leave the span elements in the array, but set the canvas item pointers to NULL. */ for (span_num = 0; span_num < event->num_spans; span_num++) { @@ -1938,6 +1936,8 @@ e_week_view_remove_event_cb (EWeekView *week_view, } } + g_array_remove_index (week_view->events, event_num); + week_view->events_need_layout = TRUE; return TRUE; |