diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-01-03 12:46:23 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-01-04 02:15:01 +0800 |
commit | e77ee5d5d38ad95bce550db62bf4105f43cf88c6 (patch) | |
tree | 3b4c275b086d3f49360c551e686f62140a8ee4d4 /widgets/table/e-table-state.c | |
parent | 3cfd5d640908b6441769341c764de70006262c6e (diff) | |
download | gsoc2013-evolution-e77ee5d5d38ad95bce550db62bf4105f43cf88c6.tar.gz gsoc2013-evolution-e77ee5d5d38ad95bce550db62bf4105f43cf88c6.tar.zst gsoc2013-evolution-e77ee5d5d38ad95bce550db62bf4105f43cf88c6.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'widgets/table/e-table-state.c')
-rw-r--r-- | widgets/table/e-table-state.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/widgets/table/e-table-state.c b/widgets/table/e-table-state.c index 9f24f30d28..86694eccac 100644 --- a/widgets/table/e-table-state.c +++ b/widgets/table/e-table-state.c @@ -245,21 +245,27 @@ e_table_state_save_to_node (ETableState *state, xmlNode *node; if (parent) - node = xmlNewChild (parent, NULL, (const guchar *)"ETableState", NULL); + node = xmlNewChild ( + parent, NULL, (const guchar *) "ETableState", NULL); else - node = xmlNewNode (NULL, (const guchar *)"ETableState"); + node = xmlNewNode (NULL, (const guchar *) "ETableState"); - e_xml_set_double_prop_by_name(node, (const guchar *)"state-version", STATE_VERSION); + e_xml_set_double_prop_by_name ( + node, (const guchar *)"state-version", STATE_VERSION); for (i = 0; i < state->col_count; i++) { gint column = state->columns[i]; double expansion = state->expansions[i]; xmlNode *new_node; - new_node = xmlNewChild(node, NULL, (const guchar *)"column", NULL); - e_xml_set_integer_prop_by_name (new_node, (const guchar *)"source", column); + new_node = xmlNewChild ( + node, NULL, (const guchar *) "column", NULL); + e_xml_set_integer_prop_by_name ( + new_node, (const guchar *) "source", column); if (expansion >= -1) - e_xml_set_double_prop_by_name(new_node, (const guchar *)"expansion", expansion); + e_xml_set_double_prop_by_name ( + new_node, (const guchar *) + "expansion", expansion); } e_table_sort_info_save_to_node(state->sort_info, node); |