aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-03-26 12:45:41 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-03-26 12:45:41 +0800
commitaebeb2ef7010d8f72508a6a6f4541f05a942853a (patch)
treeeb93afd062df32c67c7f66de57c1b4b4742be6d3 /calendar/gui/e-cal-model.c
parent66704f04187928dcab171b6ac3250e9df641f97d (diff)
downloadgsoc2013-evolution-aebeb2ef7010d8f72508a6a6f4541f05a942853a.tar
gsoc2013-evolution-aebeb2ef7010d8f72508a6a6f4541f05a942853a.tar.gz
gsoc2013-evolution-aebeb2ef7010d8f72508a6a6f4541f05a942853a.tar.bz2
gsoc2013-evolution-aebeb2ef7010d8f72508a6a6f4541f05a942853a.tar.lz
gsoc2013-evolution-aebeb2ef7010d8f72508a6a6f4541f05a942853a.tar.xz
gsoc2013-evolution-aebeb2ef7010d8f72508a6a6f4541f05a942853a.tar.zst
gsoc2013-evolution-aebeb2ef7010d8f72508a6a6f4541f05a942853a.zip
fix off by one error when emitting deleted signal
2004-03-25 JP Rosevear <jpr@ximian.com> * gui/e-cal-model.c (remove_client): fix off by one error when emitting deleted signal svn path=/trunk/; revision=25193
Diffstat (limited to 'calendar/gui/e-cal-model.c')
-rw-r--r--calendar/gui/e-cal-model.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c
index 95255c023f..4cc9038807 100644
--- a/calendar/gui/e-cal-model.c
+++ b/calendar/gui/e-cal-model.c
@@ -1397,7 +1397,7 @@ remove_client (ECalModel *model, ECalModelClient *client_data)
g_ptr_array_remove (model->priv->objects, comp_data);
free_comp_data (comp_data);
- e_table_model_row_deleted (E_TABLE_MODEL (model), i);
+ e_table_model_row_deleted (E_TABLE_MODEL (model), i - 1);
}
}