[gxml] LXPathObject: renamed from GXPathObject



commit 49b51de3fc95a583c2e654020d2f2a49c5d4172e
Author: Daniel Espinosa <esodan gmail com>
Date:   Fri Jul 5 13:31:58 2019 -0500

    LXPathObject: renamed from GXPathObject

 gxml/{GXPathObject.vala => LXPathObject.vala} | 4 ++--
 gxml/XElement.vala                            | 2 +-
 gxml/meson.build                              | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gxml/GXPathObject.vala b/gxml/LXPathObject.vala
similarity index 94%
rename from gxml/GXPathObject.vala
rename to gxml/LXPathObject.vala
index 9ce96b0..7412736 100644
--- a/gxml/GXPathObject.vala
+++ b/gxml/LXPathObject.vala
@@ -22,14 +22,14 @@
  *     Daniel Espinosa <esodan gmail com>
  */
 
-public class GXml.GXPathObject : GLib.Object, GXml.XPathObject {
+public class GXml.LXPathObject : GLib.Object, GXml.XPathObject {
   private GXml.GDomHTMLCollection _collection;
   private GXml.XPathObjectType _object_type;
   private bool _boolean_value;
   private string _string_value;
   private double _number_value;
 
-  public GXPathObject (GXml.XDocument document, Xml.XPath.Object* pointer) {
+  public LXPathObject (GXml.XDocument document, Xml.XPath.Object* pointer) {
     _collection = new GXml.GDomHTMLCollection();
 
     _object_type = (GXml.XPathObjectType) pointer->type;
diff --git a/gxml/XElement.vala b/gxml/XElement.vala
index 215bd9e..e25b9da 100644
--- a/gxml/XElement.vala
+++ b/gxml/XElement.vala
@@ -348,6 +348,6 @@ public class GXml.XElement : GXml.XNonDocumentChildNode,
       }
       return true;
     });
-    return new GXml.GXPathObject (gdoc, context.eval (expression));
+    return new GXml.LXPathObject (gdoc, context.eval (expression));
   }
 }
diff --git a/gxml/meson.build b/gxml/meson.build
index ac9e52d..4de553b 100644
--- a/gxml/meson.build
+++ b/gxml/meson.build
@@ -67,7 +67,7 @@ valasources = files ([
        'GomStringRef.vala',
        'GomText.vala',
        'gxml-init.vala',
-       'GXPathObject.vala',
+       'LXPathObject.vala',
        'Namespace.vala',
        'NodeType.vala',
        'Parser.vala',


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