summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun McCance <shaunm@src.gnome.org>2004-12-22 09:15:17 +0000
committerShaun McCance <shaunm@src.gnome.org>2004-12-22 09:15:17 +0000
commit4f70318d5b4fd98662e70226d1f99d436d67f27c (patch)
treed47fd5151b007f77d6b1f1f9dddaf76055122bb6
parent99e117f9bbc70dbdd87d375ed1b4d0d1635f0bcb (diff)
downloadyelp-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--ChangeLog5
-rw-r--r--src/yelp-bookmarks.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 8f34af99..1d63ef75 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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),