aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorIrene Huang <Irene.Huang@sun.com>2006-04-04 10:42:59 +0800
committerIrene Huang <ireneh@src.gnome.org>2006-04-04 10:42:59 +0800
commitb13ad5dae71341934e266f64b6d14af4212974ab (patch)
tree513e881429deeb796ef93cac16bce1ab4ea613a5 /calendar/gui
parent998f971fb8973f07e59e39957e23ee10e36f5c61 (diff)
downloadgsoc2013-evolution-b13ad5dae71341934e266f64b6d14af4212974ab.tar
gsoc2013-evolution-b13ad5dae71341934e266f64b6d14af4212974ab.tar.gz
gsoc2013-evolution-b13ad5dae71341934e266f64b6d14af4212974ab.tar.bz2
gsoc2013-evolution-b13ad5dae71341934e266f64b6d14af4212974ab.tar.lz
gsoc2013-evolution-b13ad5dae71341934e266f64b6d14af4212974ab.tar.xz
gsoc2013-evolution-b13ad5dae71341934e266f64b6d14af4212974ab.tar.zst
gsoc2013-evolution-b13ad5dae71341934e266f64b6d14af4212974ab.zip
Fixes bug 335214
2006-04-04 Irene Huang <Irene.Huang@sun.com> Fixes bug 335214 * gui/e-cal-model.c: (e_cal_view_objects_added_cb): Call e_table_model_pre_change (E_TABLE_MODEL (model)); before deleting row. svn path=/trunk/; revision=31760
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-cal-model.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c
index 6d5d5ea0b1..e8cf94e22d 100644
--- a/calendar/gui/e-cal-model.c
+++ b/calendar/gui/e-cal-model.c
@@ -1373,6 +1373,7 @@ e_cal_view_objects_added_cb (ECalView *query, GList *objects, gpointer user_data
int pos;
pos = get_position_in_array (priv->objects, comp_data);
+ e_table_model_pre_change (E_TABLE_MODEL (model));
e_table_model_row_deleted (E_TABLE_MODEL (model), pos);
if (g_ptr_array_remove (priv->objects, comp_data))