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-column-specification.c | |
parent | 7d1751cc26a75166019917ec8c3b35e1083d27d6 (diff) | |
download | gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.gz gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.bz2 gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.lz gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.xz gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.zst gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'widgets/table/e-table-column-specification.c')
-rw-r--r-- | widgets/table/e-table-column-specification.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/widgets/table/e-table-column-specification.c b/widgets/table/e-table-column-specification.c index a242d95bfa..033b693073 100644 --- a/widgets/table/e-table-column-specification.c +++ b/widgets/table/e-table-column-specification.c @@ -80,7 +80,7 @@ etcs_init (ETableColumnSpecification *specification) { specification->model_col = 0; specification->compare_col = 0; - specification->title = g_strdup(""); + specification->title = g_strdup (""); specification->pixbuf = NULL; specification->expansion = 0; @@ -123,7 +123,7 @@ e_table_column_specification_load_from_node (ETableColumnSpecification *etcs, etcs->priority = e_xml_get_integer_prop_by_name_with_default (node, (const guchar *)"priority", 0); if (etcs->title == NULL) - etcs->title = g_strdup(""); + etcs->title = g_strdup (""); } xmlNode * @@ -132,24 +132,24 @@ e_table_column_specification_save_to_node (ETableColumnSpecification *specificat { xmlNode *node; if (parent) - node = xmlNewChild(parent, NULL, (const guchar *)"ETableColumn", NULL); + node = xmlNewChild (parent, NULL, (const guchar *)"ETableColumn", NULL); else - node = xmlNewNode(NULL, (const guchar *)"ETableColumn"); + node = xmlNewNode (NULL, (const guchar *)"ETableColumn"); - e_xml_set_integer_prop_by_name(node, (const guchar *)"model_col", specification->model_col); + e_xml_set_integer_prop_by_name (node, (const guchar *)"model_col", specification->model_col); if (specification->compare_col != specification->model_col) - e_xml_set_integer_prop_by_name(node, (const guchar *)"compare_col", specification->compare_col); - e_xml_set_string_prop_by_name(node, (const guchar *)"_title", specification->title); - e_xml_set_string_prop_by_name(node, (const guchar *)"pixbuf", specification->pixbuf); - - e_xml_set_double_prop_by_name(node, (const guchar *)"expansion", specification->expansion); - e_xml_set_integer_prop_by_name(node, (const guchar *)"minimum_width", specification->minimum_width); - e_xml_set_bool_prop_by_name(node, (const guchar *)"resizable", specification->resizable); - e_xml_set_bool_prop_by_name(node, (const guchar *)"disabled", specification->disabled); - - e_xml_set_string_prop_by_name(node, (const guchar *)"cell", specification->cell); - e_xml_set_string_prop_by_name(node, (const guchar *)"compare", specification->compare); - e_xml_set_string_prop_by_name(node, (const guchar *)"search", specification->search); + e_xml_set_integer_prop_by_name (node, (const guchar *)"compare_col", specification->compare_col); + e_xml_set_string_prop_by_name (node, (const guchar *)"_title", specification->title); + e_xml_set_string_prop_by_name (node, (const guchar *)"pixbuf", specification->pixbuf); + + e_xml_set_double_prop_by_name (node, (const guchar *)"expansion", specification->expansion); + e_xml_set_integer_prop_by_name (node, (const guchar *)"minimum_width", specification->minimum_width); + e_xml_set_bool_prop_by_name (node, (const guchar *)"resizable", specification->resizable); + e_xml_set_bool_prop_by_name (node, (const guchar *)"disabled", specification->disabled); + + e_xml_set_string_prop_by_name (node, (const guchar *)"cell", specification->cell); + e_xml_set_string_prop_by_name (node, (const guchar *)"compare", specification->compare); + e_xml_set_string_prop_by_name (node, (const guchar *)"search", specification->search); if (specification->priority != 0) e_xml_set_integer_prop_by_name (node, (const guchar *)"priority", specification->priority); |