diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2001-01-06 13:31:13 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-01-06 13:31:13 +0800 |
commit | c5f64863e3fd5895510a5a890a49114825293812 (patch) | |
tree | 21b0ebb32c85424fa40c49fc9ab6b3ce67f24bd9 /widgets/table/e-table-sorter.h | |
parent | 3d0a81c35455e8e8cbc079037e5defa470e4ba17 (diff) | |
download | gsoc2013-evolution-c5f64863e3fd5895510a5a890a49114825293812.tar gsoc2013-evolution-c5f64863e3fd5895510a5a890a49114825293812.tar.gz gsoc2013-evolution-c5f64863e3fd5895510a5a890a49114825293812.tar.bz2 gsoc2013-evolution-c5f64863e3fd5895510a5a890a49114825293812.tar.lz gsoc2013-evolution-c5f64863e3fd5895510a5a890a49114825293812.tar.xz gsoc2013-evolution-c5f64863e3fd5895510a5a890a49114825293812.tar.zst gsoc2013-evolution-c5f64863e3fd5895510a5a890a49114825293812.zip |
Fixed sorting. needs_sorting was getting set to 0 when sorted happens, but
2001-01-06 Christopher James Lahey <clahey@helixcode.com>
* e-table-sorter.c, e-table-sorter.h (ets_sort): Fixed sorting.
needs_sorting was getting set to 0 when sorted happens, but
needs_sorting tells you whether or not the sorter is sorted or
not, not whether the sorting has happened. Documented the
needs_sorting variable.
svn path=/trunk/; revision=7281
Diffstat (limited to 'widgets/table/e-table-sorter.h')
-rw-r--r-- | widgets/table/e-table-sorter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/table/e-table-sorter.h b/widgets/table/e-table-sorter.h index 43959a0a93..2f4c5bdf9d 100644 --- a/widgets/table/e-table-sorter.h +++ b/widgets/table/e-table-sorter.h @@ -21,6 +21,7 @@ typedef struct { ETableHeader *full_header; ETableSortInfo *sort_info; + /* If needs_sorting is 0, then model_to_sorted and sorted_to_model are no-ops. */ int needs_sorting; int *sorted; |