[gdl] Save the document with indentation.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdl] Save the document with indentation.
- Date: Tue, 3 May 2011 17:38:19 +0000 (UTC)
commit 2b7d83a1368c508c97583b2163c77d44b87ac2f6
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Tue May 3 18:30:44 2011 +0200
Save the document with indentation.
gdl/gdl-dock-layout.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdl/gdl-dock-layout.c b/gdl/gdl-dock-layout.c
index ea0ea40..edd3f64 100644
--- a/gdl/gdl-dock-layout.c
+++ b/gdl/gdl-dock-layout.c
@@ -219,6 +219,7 @@ gdl_dock_layout_build_doc (GdlDockLayout *layout)
{
g_return_if_fail (layout->priv->doc == NULL);
+ xmlIndentTreeOutput = TRUE;
layout->priv->doc = xmlNewDoc (BAD_CAST "1.0");
layout->priv->doc->children = xmlNewDocNode (layout->priv->doc, NULL,
BAD_CAST ROOT_ELEMENT, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]