diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-01-16 03:42:14 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-01-16 03:42:14 +0800 |
commit | c22f252ffb46424a97c348bcd93b7dced6f2682b (patch) | |
tree | 733e0b7855178188fb847ffb6343142dc8f66e9f | |
parent | c9e4a8473debed351518f09141453888893ef4f5 (diff) | |
download | gsoc2013-evolution-c22f252ffb46424a97c348bcd93b7dced6f2682b.tar gsoc2013-evolution-c22f252ffb46424a97c348bcd93b7dced6f2682b.tar.gz gsoc2013-evolution-c22f252ffb46424a97c348bcd93b7dced6f2682b.tar.bz2 gsoc2013-evolution-c22f252ffb46424a97c348bcd93b7dced6f2682b.tar.lz gsoc2013-evolution-c22f252ffb46424a97c348bcd93b7dced6f2682b.tar.xz gsoc2013-evolution-c22f252ffb46424a97c348bcd93b7dced6f2682b.tar.zst gsoc2013-evolution-c22f252ffb46424a97c348bcd93b7dced6f2682b.zip |
Same here.
2003-01-15 Jeffrey Stedfast <fejj@ximian.com>
* 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
-rw-r--r-- | widgets/table/e-table-specification.c | 2 | ||||
-rw-r--r-- | widgets/table/e-table-state.c | 2 | ||||
-rw-r--r-- | widgets/table/e-tree-table-adapter.c | 2 |
3 files changed, 3 insertions, 3 deletions
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); } |