diff options
author | Federico Mena Quintero <federico@helixcode.com> | 2000-06-13 08:41:47 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2000-06-13 08:41:47 +0800 |
commit | 9de25e88aa7b0d125739fda6bbbfdb4ebe16f951 (patch) | |
tree | 2bd83c1e6a0e5726452abb3adb4c6d9657eb2684 /widgets/table/e-table-model.c | |
parent | 40adaa82b3d10b7f3ae1cdb4902db5e40fd0b9eb (diff) | |
download | gsoc2013-evolution-9de25e88aa7b0d125739fda6bbbfdb4ebe16f951.tar.gz gsoc2013-evolution-9de25e88aa7b0d125739fda6bbbfdb4ebe16f951.tar.zst gsoc2013-evolution-9de25e88aa7b0d125739fda6bbbfdb4ebe16f951.zip |
Removed the freeze/thaw stuff for the model. As Chris wisely pointed out,
2000-06-12 Federico Mena Quintero <federico@helixcode.com>
* e-table-model.[ch]: Removed the freeze/thaw stuff for the model.
As Chris wisely pointed out, having freeze/thaw on the model makes
its state inconsistent from the perspective of the views.
* e-table-sorted-variable.c: Do not check for a frozen model.
* e-table-subset.c: Likewise.
* e-table-subset-variable.c: Likewise.
* e-table-example-1.c: Removed the ETableModel thaw handler.
* e-table-example-2.c: Likewise.
* e-table-simple.c: Likewise.
* e-table-size-test.c: Likewise.
* test-check.c: Likewise.
* test-cols.c: Likewise.
* test-table.c: Likewise.
svn path=/trunk/; revision=3543
Diffstat (limited to 'widgets/table/e-table-model.c')
-rw-r--r-- | widgets/table/e-table-model.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/widgets/table/e-table-model.c b/widgets/table/e-table-model.c index 38f5592bb8..62a45d966e 100644 --- a/widgets/table/e-table-model.c +++ b/widgets/table/e-table-model.c @@ -197,7 +197,6 @@ e_table_model_class_init (GtkObjectClass *object_class) klass->free_value = NULL; klass->initialize_value = NULL; klass->value_is_empty = NULL; - klass->thaw = NULL; klass->model_changed = NULL; klass->model_row_changed = NULL; klass->model_cell_changed = NULL; @@ -280,24 +279,3 @@ e_table_model_row_deleted (ETableModel *e_table_model, int row) gtk_signal_emit (GTK_OBJECT (e_table_model), e_table_model_signals [MODEL_ROW_DELETED], row); } - -void -e_table_model_freeze (ETableModel *e_table_model) -{ - g_return_if_fail (e_table_model != NULL); - g_return_if_fail (E_IS_TABLE_MODEL (e_table_model)); - - e_table_model->frozen = TRUE; - return ETM_CLASS (e_table_model)->thaw (e_table_model); -} - -void -e_table_model_thaw (ETableModel *e_table_model) -{ - g_return_if_fail (e_table_model != NULL); - g_return_if_fail (E_IS_TABLE_MODEL (e_table_model)); - - e_table_model->frozen = FALSE; - if (ETM_CLASS(e_table_model)->thaw) - ETM_CLASS (e_table_model)->thaw (e_table_model); -} |