aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-specification.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2001-01-17 04:45:56 +0800
committerChris Lahey <clahey@src.gnome.org>2001-01-17 04:45:56 +0800
commitc1c5688c54f8da7ee968f59132cc1878d0138f89 (patch)
tree41a6b137f47e3ace1c03f84f8267876752efe1c3 /widgets/table/e-table-specification.c
parent4363b68c1c9140c4063c786926608ad58ff52f6d (diff)
downloadgsoc2013-evolution-c1c5688c54f8da7ee968f59132cc1878d0138f89.tar.gz
gsoc2013-evolution-c1c5688c54f8da7ee968f59132cc1878d0138f89.tar.zst
gsoc2013-evolution-c1c5688c54f8da7ee968f59132cc1878d0138f89.zip
Added a bit of documentation. (config_sort_config_show,
2001-01-16 Christopher James Lahey <clahey@helixcode.com> * e-table-config.c: Added a bit of documentation. (config_sort_config_show, config_group_config_show): gnome_dialog_set_parent on the config->dialog_toplevel instead of the config. * e-table-specification: Pass "1.0" instead of NULL to xmlNewDoc here. * e-table-state.c, e-table-state.h: Pass "1.0" instead of NULL to xmlNewDoc here. Make sure that sort_info is never NULL if this object exists. Added ETableStateDuplicate. svn path=/trunk/; revision=7542
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);