[gxml] XListChildren: renamed from GListChildren
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gxml] XListChildren: renamed from GListChildren
- Date: Fri, 5 Jul 2019 05:09:23 +0000 (UTC)
commit c5004615764c64de106327029baa2ef913c5eef9
Author: Daniel Espinosa <esodan gmail com>
Date: Thu Jul 4 22:29:39 2019 -0500
XListChildren: renamed from GListChildren
gxml/GXmlDocument.vala | 2 +-
gxml/GXmlNode.vala | 2 +-
gxml/{GXmlListChildren.vala => XListChildren.vala} | 4 ++--
gxml/meson.build | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gxml/GXmlDocument.vala b/gxml/GXmlDocument.vala
index 9ef7124..408212d 100644
--- a/gxml/GXmlDocument.vala
+++ b/gxml/GXmlDocument.vala
@@ -92,7 +92,7 @@ public class GXml.GDocument : GXml.GNode,
}
// GXml.DomNode
public override Gee.Map<string,GXml.DomNode> attrs { owned get { return new XHashMapAttr (this,
(Xml.Node*) doc) as Gee.Map<string,GXml.DomNode>; } }
- public override Gee.BidirList<GXml.DomNode> children_nodes { owned get { return new GListChildren (this,
(Xml.Node*) doc) as Gee.BidirList<GXml.DomNode>; } }
+ public override Gee.BidirList<GXml.DomNode> children_nodes { owned get { return new XListChildren (this,
(Xml.Node*) doc) as Gee.BidirList<GXml.DomNode>; } }
public override Gee.List<GXml.Namespace> namespaces { owned get { return new GListNamespaces (this,
doc->get_root_element()) as Gee.List<GXml.Namespace>; } }
public override GXml.DomDocument document { get { return this; } }
// GXml.DomDocument
diff --git a/gxml/GXmlNode.vala b/gxml/GXmlNode.vala
index 2f6929e..2c75613 100644
--- a/gxml/GXmlNode.vala
+++ b/gxml/GXmlNode.vala
@@ -57,7 +57,7 @@ public abstract class GXml.GNode : Object,
return ((_node->new_ns (uri, prefix)) != null);
}
public virtual Gee.Map<string,GXml.DomNode> attrs { owned get { return new XHashMapAttr (_doc, _node) as
Gee.Map<string,GXml.DomNode>; } }
- public virtual Gee.BidirList<GXml.DomNode> children_nodes { owned get { return new GListChildren (_doc,
_node) as Gee.BidirList<GXml.DomNode>; } }
+ public virtual Gee.BidirList<GXml.DomNode> children_nodes { owned get { return new XListChildren (_doc,
_node) as Gee.BidirList<GXml.DomNode>; } }
public virtual Gee.List<GXml.Namespace> namespaces { owned get { return new GListNamespaces (_doc, _node)
as Gee.List<GXml.Namespace>; } }
public virtual GXml.DomDocument document { get { return _doc; } }
public virtual GXml.DomNode parent {
diff --git a/gxml/GXmlListChildren.vala b/gxml/XListChildren.vala
similarity index 98%
rename from gxml/GXmlListChildren.vala
rename to gxml/XListChildren.vala
index 7e82a8a..bdfb263 100644
--- a/gxml/GXmlListChildren.vala
+++ b/gxml/XListChildren.vala
@@ -25,12 +25,12 @@ using Gee;
/**
* A {@link Gee.AbstractBidirList} implementation to access {@link Xml.Node} collection
*/
-public class GXml.GListChildren : AbstractBidirList<GXml.DomNode>,
+public class GXml.XListChildren : AbstractBidirList<GXml.DomNode>,
DomNodeList, DomHTMLCollection
{
private GXml.GDocument _doc;
private Xml.Node *_node;
- public GListChildren (GDocument doc, Xml.Node* node) {
+ public XListChildren (GDocument doc, Xml.Node* node) {
_node = node;
_doc = doc;
}
diff --git a/gxml/meson.build b/gxml/meson.build
index d577f6a..e8655de 100644
--- a/gxml/meson.build
+++ b/gxml/meson.build
@@ -71,7 +71,6 @@ valasources = files ([
'GXmlDomRange.vala',
'GXmlElement.vala',
'gxml-init.vala',
- 'GXmlListChildren.vala',
'GXmlListNamespaces.vala',
'GXmlNamespace.vala',
'GXmlNode.vala',
@@ -85,6 +84,7 @@ valasources = files ([
'XCharacter.vala',
'XComment.vala',
'XHashMapAttr.vala',
+ 'XListChildren.vala',
'XParser.vala',
'XPath.vala',
'XProcessingInstruction.vala',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]