aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-02-13 00:59:27 +0800
committerChristian Persch <chpe@src.gnome.org>2004-02-13 00:59:27 +0800
commit45e52c4cdcf6c25815a211a7d48558cb72d0471a (patch)
treeaabfd1651b7093ac946e29c7bf99d9e75ce007d8 /src
parentbbd519c4867de487e09f8ac5f838a2b150cb75a1 (diff)
downloadgsoc2013-epiphany-45e52c4cdcf6c25815a211a7d48558cb72d0471a.tar
gsoc2013-epiphany-45e52c4cdcf6c25815a211a7d48558cb72d0471a.tar.gz
gsoc2013-epiphany-45e52c4cdcf6c25815a211a7d48558cb72d0471a.tar.bz2
gsoc2013-epiphany-45e52c4cdcf6c25815a211a7d48558cb72d0471a.tar.lz
gsoc2013-epiphany-45e52c4cdcf6c25815a211a7d48558cb72d0471a.tar.xz
gsoc2013-epiphany-45e52c4cdcf6c25815a211a7d48558cb72d0471a.tar.zst
gsoc2013-epiphany-45e52c4cdcf6c25815a211a7d48558cb72d0471a.zip
2004-02-12 Christian Persch <chpe@cvs.gnome.org>
* lib/ephy-node-db.c: (ephy_node_db_write_to_xml_valist): * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf):
Diffstat (limited to 'src')
-rw-r--r--src/bookmarks/ephy-bookmarks-export.c6
-rw-r--r--src/ephy-session.c6
2 files changed, 12 insertions, 0 deletions
diff --git a/src/bookmarks/ephy-bookmarks-export.c b/src/bookmarks/ephy-bookmarks-export.c
index f035e8fbb..bd3b3db55 100644
--- a/src/bookmarks/ephy-bookmarks-export.c
+++ b/src/bookmarks/ephy-bookmarks-export.c
@@ -100,6 +100,12 @@ ephy_bookmarks_export_rdf (EphyBookmarks *bookmarks,
return;
}
+ ret = xmlTextWriterSetIndent (writer, 1);
+ if (ret < 0) goto out;
+
+ ret = xmlTextWriterSetIndentString (writer, " ");
+ if (ret < 0) goto out;
+
ret = xmlTextWriterStartDocument (writer, "1.0", NULL, NULL);
if (ret < 0) goto out;
diff --git a/src/ephy-session.c b/src/ephy-session.c
index b95754187..96aa5919a 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -524,6 +524,12 @@ ephy_session_save (EphySession *session,
return FALSE;
}
+ ret = xmlTextWriterSetIndent (writer, 1);
+ if (ret < 0) goto out;
+
+ ret = xmlTextWriterSetIndentString (writer, " ");
+ if (ret < 0) goto out;
+
START_PROFILER ("Saving session")
ret = xmlTextWriterStartDocument (writer, "1.0", NULL, NULL);