diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bookmarks/ephy-bookmarks-export.c | 6 | ||||
-rw-r--r-- | src/ephy-session.c | 6 |
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); |