[gxml] ProcessingInstruction: interface removed
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gxml] ProcessingInstruction: interface removed
- Date: Thu, 4 Jul 2019 23:43:10 +0000 (UTC)
commit 2939e386956995f1ee6ca9dca2ce30610fd18fd5
Author: Daniel Espinosa <esodan gmail com>
Date: Thu Jul 4 13:37:28 2019 -0500
ProcessingInstruction: interface removed
gxml/GXmlNode.vala | 4 ++--
gxml/GXmlProcessingInstruction.vala | 1 -
gxml/ProcessingInstruction.vala | 39 -------------------------------------
gxml/meson.build | 1 -
4 files changed, 2 insertions(+), 43 deletions(-)
---
diff --git a/gxml/GXmlNode.vala b/gxml/GXmlNode.vala
index 565403a..3f3c437 100644
--- a/gxml/GXmlNode.vala
+++ b/gxml/GXmlNode.vala
@@ -198,7 +198,7 @@ public abstract class GXml.GNode : Object,
owned get {
string t = null;
if (this is GXml.DomText) return (this as DomText).data;
- if (this is GXml.ProcessingInstruction) return this.@value;
+ if (this is GXml.DomProcessingInstruction) return this.@value;
if (this is GXml.Comment) return this.@value;
if (this is GXml.Document || this is GXml.Element) {
message ("Is Element");
@@ -216,7 +216,7 @@ public abstract class GXml.GNode : Object,
var t = this.document.create_text (value);
this.document.children_nodes.add (t);
}
- if (!(this is GXml.DomText || this is GXml.Comment || this is GXml.ProcessingInstruction)) return;
+ if (!(this is GXml.DomText || this is GXml.Comment || this is GXml.DomProcessingInstruction)) return;
this.@value = value;
}
}
diff --git a/gxml/GXmlProcessingInstruction.vala b/gxml/GXmlProcessingInstruction.vala
index 6d7bdd7..643ee4b 100644
--- a/gxml/GXmlProcessingInstruction.vala
+++ b/gxml/GXmlProcessingInstruction.vala
@@ -26,7 +26,6 @@ using Gee;
* {@link DomProcessingInstruction} interface, powered by libxml2 library.
*/
public class GXml.GProcessingInstruction : GXml.GCharacterData,
- GXml.ProcessingInstruction,
GXml.DomProcessingInstruction
{
public GProcessingInstruction (GDocument doc, Xml.Node *node)
diff --git a/gxml/meson.build b/gxml/meson.build
index 5fd5c10..6a47308 100644
--- a/gxml/meson.build
+++ b/gxml/meson.build
@@ -95,7 +95,6 @@ valasources = files ([
'NodeType.vala',
'Notation.vala',
'Parser.vala',
- 'ProcessingInstruction.vala',
'Schema.vala',
'XParser.vala',
'XPath.vala'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]