[gxml] CustomEvent: renamed from GDomCustomEvent



commit dc6c1f958e7b01577c12e3d9e03768febb2c1c80
Author: Daniel Espinosa <esodan gmail com>
Date:   Fri Jul 5 14:12:14 2019 -0500

    CustomEvent: renamed from GDomCustomEvent

 gxml/Event.vala       | 2 +-
 gxml/GomDocument.vala | 8 ++++----
 gxml/XDocument.vala   | 8 ++++----
 3 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gxml/Event.vala b/gxml/Event.vala
index 45552f2..12e1286 100644
--- a/gxml/Event.vala
+++ b/gxml/Event.vala
@@ -68,7 +68,7 @@ public class GXml.Event : Object, GXml.DomEvent {
 /**
  * Custom event handler, powered by libxml2 library.
  */
-public class GXml.GDomCustomEvent : GXml.Event {
+public class GXml.CustomEvent : GXml.Event {
        protected GLib.Value _detail;
        public GLib.Value detail { get { return _detail; } }
 
diff --git a/gxml/GomDocument.vala b/gxml/GomDocument.vala
index c212981..450cbc0 100644
--- a/gxml/GomDocument.vala
+++ b/gxml/GomDocument.vala
@@ -272,10 +272,10 @@ public class GXml.GomDocument : GomNode,
 
   public DomEvent create_event (string iface) {
       var s = iface.down ();
-      if (s == "customevent") _constructor = new GXml.GDomCustomEvent ();
-      if (s == "event") _constructor = new GXml.GDomCustomEvent ();
-      if (s == "events") _constructor = new GXml.GDomCustomEvent ();
-      if (s == "htmlevents") _constructor = new GXml.GDomCustomEvent ();
+      if (s == "customevent") _constructor = new GXml.CustomEvent ();
+      if (s == "event") _constructor = new GXml.CustomEvent ();
+      if (s == "events") _constructor = new GXml.CustomEvent ();
+      if (s == "htmlevents") _constructor = new GXml.CustomEvent ();
       if (s == "keyboardevent") _constructor = null;
       if (s == "keyevents") _constructor = null;
       if (s == "messageevent") _constructor = null;
diff --git a/gxml/XDocument.vala b/gxml/XDocument.vala
index 888970b..9c709b8 100644
--- a/gxml/XDocument.vala
+++ b/gxml/XDocument.vala
@@ -291,10 +291,10 @@ public class GXml.XDocument : GXml.XNode,
   protected GXml.DomEvent _constructor;
   public DomEvent create_event (string iface) {
       var s = iface.down ();
-      if (s == "customevent") _constructor = new GXml.GDomCustomEvent ();
-      if (s == "event") _constructor = new GXml.GDomCustomEvent ();
-      if (s == "events") _constructor = new GXml.GDomCustomEvent ();
-      if (s == "htmlevents") _constructor = new GXml.GDomCustomEvent ();
+      if (s == "customevent") _constructor = new GXml.CustomEvent ();
+      if (s == "event") _constructor = new GXml.CustomEvent ();
+      if (s == "events") _constructor = new GXml.CustomEvent ();
+      if (s == "htmlevents") _constructor = new GXml.CustomEvent ();
       if (s == "keyboardevent") _constructor = null;
       if (s == "keyevents") _constructor = null;
       if (s == "messageevent") _constructor = null;


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