aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/menus/gal-view-collection.c2
-rw-r--r--widgets/menus/gal-view-instance.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/widgets/menus/gal-view-collection.c b/widgets/menus/gal-view-collection.c
index e53b5660f7..b7a571132e 100644
--- a/widgets/menus/gal-view-collection.c
+++ b/widgets/menus/gal-view-collection.c
@@ -537,7 +537,7 @@ gal_view_collection_save (GalViewCollection *collection)
e_xml_set_string_prop_by_name(child, "type", item->type);
}
filename = g_concat_dir_and_file(collection->local_dir, "galview.xml");
- xmlSaveFile(filename, doc);
+ e_xml_save_file (filename, doc);
xmlFreeDoc(doc);
g_free(filename);
}
diff --git a/widgets/menus/gal-view-instance.c b/widgets/menus/gal-view-instance.c
index e43fa92fb7..cda202f552 100644
--- a/widgets/menus/gal-view-instance.c
+++ b/widgets/menus/gal-view-instance.c
@@ -92,7 +92,7 @@ save_current_view (GalViewInstance *instance)
if (instance->current_type)
e_xml_set_string_prop_by_name (root, "current_view_type", instance->current_type);
- xmlSaveFile(instance->current_view_filename, doc);
+ e_xml_save_file (instance->current_view_filename, doc);
xmlFreeDoc(doc);
}