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/test-table.c | |
parent | 40adaa82b3d10b7f3ae1cdb4902db5e40fd0b9eb (diff) | |
download | gsoc2013-evolution-9de25e88aa7b0d125739fda6bbbfdb4ebe16f951.tar gsoc2013-evolution-9de25e88aa7b0d125739fda6bbbfdb4ebe16f951.tar.gz gsoc2013-evolution-9de25e88aa7b0d125739fda6bbbfdb4ebe16f951.tar.bz2 gsoc2013-evolution-9de25e88aa7b0d125739fda6bbbfdb4ebe16f951.tar.lz gsoc2013-evolution-9de25e88aa7b0d125739fda6bbbfdb4ebe16f951.tar.xz 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/test-table.c')
-rw-r--r-- | widgets/e-table/test-table.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/widgets/e-table/test-table.c b/widgets/e-table/test-table.c index 59126abdab..6ad9e48e0b 100644 --- a/widgets/e-table/test-table.c +++ b/widgets/e-table/test-table.c @@ -203,12 +203,6 @@ value_is_empty (ETableModel *etc, int col, const void *value, void *data) } static void -thaw (ETableModel *etc, void *data) -{ - e_table_model_changed (etc); -} - -static void set_canvas_size (GnomeCanvas *canvas, GtkAllocation *alloc) { gnome_canvas_set_scroll_region (canvas, 0, 0, alloc->width, alloc->height); @@ -234,7 +228,7 @@ table_browser_test (void) set_value_at, is_cell_editable, duplicate_value, free_value, initialize_value, value_is_empty, - thaw, NULL); + NULL); /* * Header @@ -333,7 +327,7 @@ do_e_table_demo (const char *spec) set_value_at, is_cell_editable, duplicate_value, free_value, initialize_value, value_is_empty, - thaw, NULL); + NULL); full_header = e_table_header_new (); cell_left_just = e_cell_text_new (e_table_model, NULL, GTK_JUSTIFY_LEFT); |