[gxml/vala/issue548: 3/3] Fix GomArrayList.validate_append() override
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gxml/vala/issue548: 3/3] Fix GomArrayList.validate_append() override
- Date: Wed, 5 Dec 2018 01:42:16 +0000 (UTC)
commit 863166e340b50ecfd611228eab459e1ac680553e
Author: Daniel Espinosa <esodan gmail com>
Date: Tue Dec 4 19:37:48 2018 -0600
Fix GomArrayList.validate_append() override
gxml/Document.vala | 6 +++---
gxml/GomCollections.vala | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gxml/Document.vala b/gxml/Document.vala
index be50213..16ab965 100644
--- a/gxml/Document.vala
+++ b/gxml/Document.vala
@@ -120,7 +120,7 @@ public interface GXml.Document : Object, GXml.Node
/**
* Creates a new {@link GXml.Document} using default implementation class.
*
- * As an interface you can create your own implementation of it, but if
+ * As an interface you can create your own implementation of it, but if
* default one is required use this.
*/
public static GXml.Document new_default ()
@@ -130,7 +130,7 @@ public interface GXml.Document : Object, GXml.Node
/**
* Creates a new {@link GXml.Document} from a file path using default implementation class.
*
- * As an interface you can create your own implementation of it, but if
+ * As an interface you can create your own implementation of it, but if
* default one is required use this.
*/
public static GXml.Document new_default_for_path (string path)
@@ -142,7 +142,7 @@ public interface GXml.Document : Object, GXml.Node
/**
* Creates a new {@link GXml.Document} from a {@link GLib.File} using default implementation class.
*
- * As an interface you can create your own implementation of it, but if
+ * As an interface you can create your own implementation of it, but if
* default one is required use this.
*/
public static GXml.Document new_default_for_file (GLib.File f)
diff --git a/gxml/GomCollections.vala b/gxml/GomCollections.vala
index afdb50f..5687e1a 100644
--- a/gxml/GomCollections.vala
+++ b/gxml/GomCollections.vala
@@ -372,7 +372,7 @@ public abstract class GXml.BaseCollection : Object, Traversable<DomElement>, Ite
* }}}
*/
public class GXml.GomArrayList : GXml.BaseCollection, GXml.List {
- public override bool GomCollection.validate_append (int index, DomElement element) throws GLib.Error {
+ public override bool validate_append (int index, DomElement element) throws GLib.Error {
#if DEBUG
GLib.message ("Adding node:"+element.node_name);
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]