diff options
author | Chris Toshok <toshok@src.gnome.org> | 2003-05-07 03:20:31 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2003-05-07 03:20:31 +0800 |
commit | bc9dd9dde3006943171a80489c0af850da21d293 (patch) | |
tree | 5e91e7c06451264b166c5efdea823964a93d6702 /addressbook/gui | |
parent | c7431a19aeeef995739b5a2f6eee0690927206b2 (diff) | |
download | gsoc2013-evolution-bc9dd9dde3006943171a80489c0af850da21d293.tar gsoc2013-evolution-bc9dd9dde3006943171a80489c0af850da21d293.tar.gz gsoc2013-evolution-bc9dd9dde3006943171a80489c0af850da21d293.tar.bz2 gsoc2013-evolution-bc9dd9dde3006943171a80489c0af850da21d293.tar.lz gsoc2013-evolution-bc9dd9dde3006943171a80489c0af850da21d293.tar.xz gsoc2013-evolution-bc9dd9dde3006943171a80489c0af850da21d293.tar.zst gsoc2013-evolution-bc9dd9dde3006943171a80489c0af850da21d293.zip |
i2003-05-06 Chris Toshok <toshok@ximian.com>
[ really commit this, fixes bug #41910 ]
* gui/contact-list-editor/e-contact-list-model.c
(e_contact_list_model_remove_row): change from model_changed to
row_deleted here. model_changed causes the table to free its
ETableSelection, which is what we iterate over when deleting
contacts.
(e_contact_list_model_add_destination): no need to be calling
model_changed here either.
svn path=/trunk/; revision=21117
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 |