[gdl] Save the document with indentation.



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]