diff options
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/contact-list-editor/e-contact-list-model.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-model.c b/addressbook/gui/contact-list-editor/e-contact-list-model.c index 6e8357d93c..6cad1bd9bf 100644 --- a/addressbook/gui/contact-list-editor/e-contact-list-model.c +++ b/addressbook/gui/contact-list-editor/e-contact-list-model.c @@ -182,7 +182,7 @@ e_contact_list_model_add_destination (EContactListModel *model, EDestination *de model->data[model->data_count ++] = dest; g_object_ref (dest); - e_table_model_changed (E_TABLE_MODEL (model)); + e_table_model_row_inserted (E_TABLE_MODEL (model), model->data_count - 1); } void @@ -227,7 +227,7 @@ e_contact_list_model_remove_row (EContactListModel *model, int row) memmove (model->data + row, model->data + row + 1, sizeof (EDestination*) * (model->data_count - row - 1)); model->data_count --; - e_table_model_changed (E_TABLE_MODEL (model)); + e_table_model_row_deleted (E_TABLE_MODEL (model), row); } void |