diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-07-12 20:02:18 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-08-20 02:17:55 +0800 |
commit | c85109fc322137596bf34cffc5445d568223c60d (patch) | |
tree | 711e6d5b2eb3d6c7780d1d01e20d980c67a77f9e /widgets/table/e-table-state.c | |
parent | 7d1751cc26a75166019917ec8c3b35e1083d27d6 (diff) | |
download | gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.gz gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.zst gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'widgets/table/e-table-state.c')
-rw-r--r-- | widgets/table/e-table-state.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/table/e-table-state.c b/widgets/table/e-table-state.c index cfc8661388..61c0e5ced5 100644 --- a/widgets/table/e-table-state.c +++ b/widgets/table/e-table-state.c @@ -180,7 +180,7 @@ e_table_state_load_from_node (ETableState *state, state->sort_info = NULL; children = node->xmlChildrenNode; for (; children; children = children->next) { - if (!strcmp ((gchar *)children->name, "column")) { + if (!strcmp ((gchar *) children->name, "column")) { int_and_double *column_info = g_new (int_and_double, 1); column_info->column = e_xml_get_integer_prop_by_name ( @@ -191,7 +191,7 @@ e_table_state_load_from_node (ETableState *state, list = g_list_append (list, column_info); } else if (state->sort_info == NULL && - !strcmp ((gchar *)children->name, "grouping")) { + !strcmp ((gchar *) children->name, "grouping")) { state->sort_info = e_table_sort_info_new (); e_table_sort_info_load_from_node ( state->sort_info, children, state_version); @@ -244,7 +244,7 @@ e_table_state_save_to_string (ETableState *state) g_return_val_if_fail (E_IS_TABLE_STATE (state), NULL); - doc = xmlNewDoc((const guchar *)"1.0"); + doc = xmlNewDoc ((const guchar *)"1.0"); xmlDocSetRootElement (doc, e_table_state_save_to_node (state, NULL)); xmlDocDumpMemory (doc, &string, &length); xmlFreeDoc (doc); |