aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/e-cal-model.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 7a2c720e26..2a23dbaabc 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,10 @@
2004-03-25 JP Rosevear <jpr@ximian.com>
+ * gui/e-cal-model.c (remove_client): fix off by one error when
+ emitting deleted signal
+
+2004-03-25 JP Rosevear <jpr@ximian.com>
+
Fixes #53499
* gui/gnome-cal.c (setup_widgets): don't give the state file to
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);
}
}