aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-example-1.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-06-13 08:41:47 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-06-13 08:41:47 +0800
commit9de25e88aa7b0d125739fda6bbbfdb4ebe16f951 (patch)
tree2bd83c1e6a0e5726452abb3adb4c6d9657eb2684 /widgets/table/e-table-example-1.c
parent40adaa82b3d10b7f3ae1cdb4902db5e40fd0b9eb (diff)
downloadgsoc2013-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/table/e-table-example-1.c')
-rw-r--r--widgets/table/e-table-example-1.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/widgets/table/e-table-example-1.c b/widgets/table/e-table-example-1.c
index fbaa3389a2..949131b597 100644
--- a/widgets/table/e-table-example-1.c
+++ b/widgets/table/e-table-example-1.c
@@ -171,13 +171,6 @@ my_value_is_empty (ETableModel *etc, int col, const void *value, void *data)
return !(value && *(char *)value);
}
-/* This function is for when the model is unfrozen. This can mostly
- be ignored for simple models. */
-static void
-my_thaw (ETableModel *etc, void *data)
-{
-}
-
/* We create a window containing our new table. */
static void
create_table (void)
@@ -200,7 +193,7 @@ create_table (void)
my_set_value_at, my_is_cell_editable,
my_duplicate_value, my_free_value,
my_initialize_value, my_value_is_empty,
- my_thaw, NULL);
+ NULL);
/*
* Next we create a header. The ETableHeader is used in two
* different way. The first is the full_header. This is the