aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-state.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-11-15 06:04:21 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-11-15 06:04:21 +0800
commit9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91 (patch)
tree2e1e96f33404781354c422a7e9beaf458ebeb655 /widgets/table/e-table-state.c
parent7e8f8bb9e5167b0219b48ab3e8062080d3740b0a (diff)
downloadgsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.gz
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.zst
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.zip
** Remove trailing whitespace from source code.
2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
Diffstat (limited to 'widgets/table/e-table-state.c')
-rw-r--r--widgets/table/e-table-state.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/widgets/table/e-table-state.c b/widgets/table/e-table-state.c
index 5e15a02c4b..57d4376612 100644
--- a/widgets/table/e-table-state.c
+++ b/widgets/table/e-table-state.c
@@ -52,7 +52,7 @@ etst_dispose (GObject *object)
G_OBJECT_CLASS (e_table_state_parent_class)->dispose (object);
}
-
+
static void
etst_finalize (GObject *object)
{
@@ -67,7 +67,7 @@ etst_finalize (GObject *object)
g_free (etst->expansions);
etst->expansions = NULL;
}
-
+
G_OBJECT_CLASS (e_table_state_parent_class)->finalize (object);
}
@@ -130,7 +130,7 @@ e_table_state_load_from_file (ETableState *state,
return FALSE;
}
-void
+void
e_table_state_load_from_string (ETableState *state,
const char *xml)
{
@@ -192,7 +192,7 @@ e_table_state_load_from_node (ETableState *state,
for (iterator = list, i = 0; iterator; i++) {
int_and_double *column_info = iterator->data;
-
+
state->columns [i] = column_info->column;
state->expansions [i] = column_info->expansion;
g_free (column_info);
@@ -206,14 +206,14 @@ e_table_state_save_to_file (ETableState *state,
const char *filename)
{
xmlDoc *doc;
-
+
if ((doc = xmlNewDoc ((const unsigned char *)"1.0")) == NULL)
return;
-
+
xmlDocSetRootElement (doc, e_table_state_save_to_node (state, NULL));
-
+
e_xml_save_file (filename, doc);
-
+
xmlFreeDoc (doc);
}
@@ -279,7 +279,7 @@ e_table_state_duplicate (ETableState *state)
{
ETableState *new_state;
char *copy;
-
+
g_return_val_if_fail (state != NULL, NULL);
g_return_val_if_fail (E_IS_TABLE_STATE (state), NULL);