[gxml: 18/25] DomElement : make 'matches' method virtual
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gxml: 18/25] DomElement : make 'matches' method virtual
- Date: Tue, 19 Mar 2019 17:46:51 +0000 (UTC)
commit df3eb97b179e04276e12875152b0537c19980c93
Author: BZHDeveloper <inizan yannick gmail com>
Date: Sat Mar 16 18:33:27 2019 +0100
DomElement : make 'matches' method virtual
gxml/DomElement.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gxml/DomElement.vala b/gxml/DomElement.vala
index 83fb7c0..975aa1e 100644
--- a/gxml/DomElement.vala
+++ b/gxml/DomElement.vala
@@ -68,7 +68,7 @@ public interface GXml.DomElement : GLib.Object,
public abstract DomHTMLCollection get_elements_by_tag_name_ns (string? namespace, string local_name);
public abstract DomHTMLCollection get_elements_by_class_name (string class_names);
- public bool matches (string selectors) throws GLib.Error {
+ public virtual bool matches (string selectors) throws GLib.Error {
var parser = new CssSelectorParser();
parser.parse (selectors);
return parser.match (this);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]