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/e-table/e-table-simple.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/e-table/e-table-simple.c')
-rw-r--r-- | widgets/e-table/e-table-simple.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/widgets/e-table/e-table-simple.c b/widgets/e-table/e-table-simple.c index 7e0135b21e..e823e8d550 100644 --- a/widgets/e-table/e-table-simple.c +++ b/widgets/e-table/e-table-simple.c @@ -112,14 +112,6 @@ simple_value_is_empty (ETableModel *etm, int col, const void *value) } static void -simple_thaw (ETableModel *etm) -{ - ETableSimple *simple = E_TABLE_SIMPLE(etm); - - simple->thaw (etm, simple->data); -} - -static void e_table_simple_class_init (GtkObjectClass *object_class) { ETableModelClass *model_class = (ETableModelClass *) object_class; @@ -133,7 +125,6 @@ e_table_simple_class_init (GtkObjectClass *object_class) model_class->free_value = simple_free_value; model_class->initialize_value = simple_initialize_value; model_class->value_is_empty = simple_value_is_empty; - model_class->thaw = simple_thaw; } GtkType @@ -169,7 +160,6 @@ e_table_simple_new (ETableSimpleColumnCountFn col_count, ETableSimpleFreeValueFn free_value, ETableSimpleInitializeValueFn initialize_value, ETableSimpleValueIsEmptyFn value_is_empty, - ETableSimpleThawFn thaw, void *data) { ETableSimple *et; @@ -185,7 +175,6 @@ e_table_simple_new (ETableSimpleColumnCountFn col_count, et->free_value = free_value; et->initialize_value = initialize_value; et->value_is_empty = value_is_empty; - et->thaw = thaw; et->data = data; return (ETableModel *) et; |