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 /mail | |
parent | d40e5a8ba1e7d362415be17d0ccde4477243839d (diff) | |
download | gsoc2013-evolution-96b07a2ff024c6e852344f4614735132219d2104.tar gsoc2013-evolution-96b07a2ff024c6e852344f4614735132219d2104.tar.gz gsoc2013-evolution-96b07a2ff024c6e852344f4614735132219d2104.tar.bz2 gsoc2013-evolution-96b07a2ff024c6e852344f4614735132219d2104.tar.lz gsoc2013-evolution-96b07a2ff024c6e852344f4614735132219d2104.tar.xz gsoc2013-evolution-96b07a2ff024c6e852344f4614735132219d2104.tar.zst gsoc2013-evolution-96b07a2ff024c6e852344f4614735132219d2104.zip |
ETableCol: Embed an ETableColumnSpecification.
Eliminates a few redundant fields.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/message-list.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/mail/message-list.c b/mail/message-list.c index df594ba003..7ce74121a1 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -5103,14 +5103,20 @@ cmp_array_uids (gconstpointer a, struct sort_column_data *scol = g_ptr_array_index (sort_data->sort_columns, i); if (md1->values->len <= i) { - v1 = ml_tree_value_at_ex (NULL, NULL, scol->col->compare_col, md1->mi, sort_data->message_list); + v1 = ml_tree_value_at_ex ( + NULL, NULL, + scol->col->spec->compare_col, + md1->mi, sort_data->message_list); g_ptr_array_add (md1->values, v1); } else { v1 = g_ptr_array_index (md1->values, i); } if (md2->values->len <= i) { - v2 = ml_tree_value_at_ex (NULL, NULL, scol->col->compare_col, md2->mi, sort_data->message_list); + v2 = ml_tree_value_at_ex ( + NULL, NULL, + scol->col->spec->compare_col, + md2->mi, sort_data->message_list); g_ptr_array_add (md2->values, v2); } else { v2 = g_ptr_array_index (md2->values, i); |