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
This commit is contained in:

committed by
Jeffrey Stedfast

parent
c9e4a8473d
commit
c22f252ffb
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user