diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-27 07:02:43 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-07-02 22:34:09 +0800 |
commit | 96b07a2ff024c6e852344f4614735132219d2104 (patch) | |
tree | 95c9bdb74cde0769a31399cc6d2b92415b37ba32 /e-util/e-table-sorter.c | |
parent | d40e5a8ba1e7d362415be17d0ccde4477243839d (diff) | |
download | gsoc2013-evolution-96b07a2ff024c6e852344f4614735132219d2104.tar.gz gsoc2013-evolution-96b07a2ff024c6e852344f4614735132219d2104.tar.zst gsoc2013-evolution-96b07a2ff024c6e852344f4614735132219d2104.zip |
ETableCol: Embed an ETableColumnSpecification.
Eliminates a few redundant fields.
Diffstat (limited to 'e-util/e-table-sorter.c')
-rw-r--r-- | e-util/e-table-sorter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/e-util/e-table-sorter.c b/e-util/e-table-sorter.c index e570042217..1342326c8f 100644 --- a/e-util/e-table-sorter.c +++ b/e-util/e-table-sorter.c @@ -149,7 +149,7 @@ table_sorter_sort (ETableSorter *table_sorter) col = e_table_header_get_column (table_sorter->full_header, e_table_header_count (table_sorter->full_header) - 1); for (i = 0; i < rows; i++) { - qd.vals[i * cols + j] = e_table_model_value_at (table_sorter->source, col->col_idx, i); + qd.vals[i * cols + j] = e_table_model_value_at (table_sorter->source, col->spec->model_col, i); } qd.compare[j] = col->compare; |