aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-table-utils.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-27 08:50:01 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-07-02 22:34:08 +0800
commita6b1bc0c1ed2acea8a1e053560826e26a7f1246c (patch)
tree95d02ec6e632eeb4ddd0ba9eb2d5d071dd8e5cea /e-util/e-table-utils.c
parent37aae129f397e5973910ff227a0f18efb1b5d2fe (diff)
downloadgsoc2013-evolution-a6b1bc0c1ed2acea8a1e053560826e26a7f1246c.tar
gsoc2013-evolution-a6b1bc0c1ed2acea8a1e053560826e26a7f1246c.tar.gz
gsoc2013-evolution-a6b1bc0c1ed2acea8a1e053560826e26a7f1246c.tar.bz2
gsoc2013-evolution-a6b1bc0c1ed2acea8a1e053560826e26a7f1246c.tar.lz
gsoc2013-evolution-a6b1bc0c1ed2acea8a1e053560826e26a7f1246c.tar.xz
gsoc2013-evolution-a6b1bc0c1ed2acea8a1e053560826e26a7f1246c.tar.zst
gsoc2013-evolution-a6b1bc0c1ed2acea8a1e053560826e26a7f1246c.zip
ETableColumnSpecification: Make "sortable" a boolean.
Diffstat (limited to 'e-util/e-table-utils.c')
-rw-r--r--e-util/e-table-utils.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/e-util/e-table-utils.c b/e-util/e-table-utils.c
index 1bd16a928e..207da0c04c 100644
--- a/e-util/e-table-utils.c
+++ b/e-util/e-table-utils.c
@@ -128,10 +128,7 @@ et_col_spec_to_col (ETableColumnSpecification *col_spec,
if (col) {
col->search = search;
- if (col_spec->sortable && !strcmp (col_spec->sortable, "false"))
- col->sortable = FALSE;
- else
- col->sortable = TRUE;
+ col->sortable = col_spec->sortable;
}
g_free (title);
}