From c22f252ffb46424a97c348bcd93b7dced6f2682b Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 15 Jan 2003 19:42:14 +0000 Subject: Same here. 2003-01-15 Jeffrey Stedfast * e-tree-table-adapter.c (e_tree_table_adapter_save_expanded_state): Same here. * e-table-state.c (e_table_state_save_to_file): Same as below. * e-table-specification.c (e_table_specification_save_to_file): Back to using e_xml_save_file(). Not sure we can really trust xmlSaveFile (sure as hell couldn't in the libxml-1.x days), besides, e_xml_save_file protects against corruption due to not enough disk space. svn path=/trunk/; revision=19481 --- widgets/table/e-table-specification.c | 2 +- widgets/table/e-table-state.c | 2 +- widgets/table/e-tree-table-adapter.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'widgets/table') diff --git a/widgets/table/e-table-specification.c b/widgets/table/e-table-specification.c index c77f4a5995..53306a1a52 100644 --- a/widgets/table/e-table-specification.c +++ b/widgets/table/e-table-specification.c @@ -296,7 +296,7 @@ e_table_specification_save_to_file (ETableSpecification *specification, xmlDocSetRootElement (doc, e_table_specification_save_to_node (specification, doc)); - ret = xmlSaveFile (filename, doc); + ret = e_xml_save_file (filename, doc); xmlFreeDoc (doc); diff --git a/widgets/table/e-table-state.c b/widgets/table/e-table-state.c index 9dd1020430..4ce1bf6d3a 100644 --- a/widgets/table/e-table-state.c +++ b/widgets/table/e-table-state.c @@ -211,7 +211,7 @@ e_table_state_save_to_file (ETableState *state, xmlDocSetRootElement (doc, e_table_state_save_to_node (state, NULL)); - xmlSaveFile (filename, doc); + e_xml_save_file (filename, doc); xmlFreeDoc (doc); } diff --git a/widgets/table/e-tree-table-adapter.c b/widgets/table/e-tree-table-adapter.c index d56e5bdef1..eb77af6d6a 100644 --- a/widgets/table/e-tree-table-adapter.c +++ b/widgets/table/e-tree-table-adapter.c @@ -963,7 +963,7 @@ e_tree_table_adapter_save_expanded_state (ETreeTableAdapter *etta, const char *f save_expanded_state_func, &tar); - xmlSaveFile (filename, doc); + e_xml_save_file (filename, doc); xmlFreeDoc (doc); } -- cgit v1.2.3