From a6b1bc0c1ed2acea8a1e053560826e26a7f1246c Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 26 Jun 2013 20:50:01 -0400 Subject: ETableColumnSpecification: Make "sortable" a boolean. --- e-util/e-table-utils.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'e-util/e-table-utils.c') 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); } -- cgit v1.2.3