[gxml] Implemented GXml.Node.to_string () in xNode



commit fb39afb1af5b3a34f96509507ed5b4895e156f4f
Author: Daniel Espinosa <esodan gmail com>
Date:   Wed Apr 15 17:32:55 2015 -0500

    Implemented GXml.Node.to_string () in xNode

 gxml/libxml-Node.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gxml/libxml-Node.vala b/gxml/libxml-Node.vala
index 0039242..a4b4c89 100644
--- a/gxml/libxml-Node.vala
+++ b/gxml/libxml-Node.vala
@@ -508,6 +508,7 @@ namespace GXml {
                public virtual string name { get { return node_name; } }
                public virtual string @value { get { return node_value; } set { node_value = value; } }
                public GXml.NodeType type_node { get { return node_type; } }
+               public virtual string to_string () { return stringify (); }
                /**
                 * Creates a copy of node's definition to @node.
                 *
@@ -518,7 +519,6 @@ namespace GXml {
                        return false;
                }
                /*
-               public GXml.Document document { get; construct set; }
-               public string to_string ();*/
+               public GXml.Document document { get; construct set; }*/
        }
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]