diff options
author | Shaun McCance <shaunm@src.gnome.org> | 2004-12-22 09:15:17 +0000 |
---|---|---|
committer | Shaun McCance <shaunm@src.gnome.org> | 2004-12-22 09:15:17 +0000 |
commit | 4f70318d5b4fd98662e70226d1f99d436d67f27c (patch) | |
tree | d47fd5151b007f77d6b1f1f9dddaf76055122bb6 | |
parent | 99e117f9bbc70dbdd87d375ed1b4d0d1635f0bcb (diff) | |
download | yelp-4f70318d5b4fd98662e70226d1f99d436d67f27c.tar.gz |
- Put the comment write after the attribute writes
* src/yelp-bookmarks.c:
- Put the comment write after the attribute writes
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/yelp-bookmarks.c | 6 |
2 files changed, 8 insertions, 3 deletions
@@ -1,6 +1,11 @@ 2004-12-22 Shaun McCance <shaunm@gnome.org> * src/yelp-bookmarks.c: + - Put the comment write after the attribute writes + +2004-12-22 Shaun McCance <shaunm@gnome.org> + + * src/yelp-bookmarks.c: * src/yelp-bookmarks.h: * src/yelp-window.c: - More bookmarks work from Don Scorgie diff --git a/src/yelp-bookmarks.c b/src/yelp-bookmarks.c index f04d4af9..a938045d 100644 --- a/src/yelp-bookmarks.c +++ b/src/yelp-bookmarks.c @@ -464,14 +464,14 @@ yelp_bookmarks_write (void) rc = xmlTextWriterStartDocument (file, NULL, NULL, NULL); rc = xmlTextWriterStartElement (file, BAD_CAST "Body"); - rc = xmlTextWriterWriteComment (file, BAD_CAST "Yelp Bookmark file - " - "Do not edit directly"); - rc = xmlTextWriterWriteAttribute(file, BAD_CAST "version", BAD_CAST "1.0"); rc = xmlTextWriterWriteAttribute(file, BAD_CAST "xml:lang", BAD_CAST "en_GB"); + rc = xmlTextWriterWriteComment (file, BAD_CAST "Yelp Bookmark file - " + "Do not edit directly"); + rc = xmlTextWriterStartElement (file, BAD_CAST "Bookmarks"); res = gtk_tree_model_get_iter_first (GTK_TREE_MODEL (actions_store), |