aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-specification.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-table-specification.c')
-rw-r--r--widgets/table/e-table-specification.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/table/e-table-specification.c b/widgets/table/e-table-specification.c
index 1a630e7c5c..fa80d6a40c 100644
--- a/widgets/table/e-table-specification.c
+++ b/widgets/table/e-table-specification.c
@@ -228,7 +228,7 @@ e_table_specification_save_to_file (ETableSpecification *specification,
{
xmlDoc *doc;
- doc = xmlNewDoc (NULL);
+ doc = xmlNewDoc ("1.0");
xmlDocSetRootElement (doc, e_table_specification_save_to_node (specification, doc));
return xmlSaveFile (filename, doc);
}
@@ -251,7 +251,7 @@ e_table_specification_save_to_string (ETableSpecification *specification)
int length;
xmlDoc *doc;
- doc = xmlNewDoc (NULL);
+ doc = xmlNewDoc ("1.0");
xmlDocSetRootElement (doc, e_table_specification_save_to_node (specification, doc));
xmlDocDumpMemory (doc, &string, &length);