summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-06-16 17:04:42 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2021-08-05 18:09:06 +0100
commit358632577ea4254f29abeba86630dd6ce9a2da2c (patch)
tree85dedddce46976851fef85b1e1740ea123afd27e
parentf6053328bf855937c78d520940ab2f82fead53cd (diff)
downloadgobject-introspection-358632577ea4254f29abeba86630dd6ce9a2da2c.tar.gz
scanner: Use strict_node() for property name collision
This way we only raise a warning when operating under the newly added strict mode.
-rw-r--r--giscanner/introspectablepass.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/introspectablepass.py b/giscanner/introspectablepass.py
index 9681d9b7..6a999f9f 100644
--- a/giscanner/introspectablepass.py
+++ b/giscanner/introspectablepass.py
@@ -264,7 +264,7 @@ class IntrospectablePass(object):
def _property_warning(self, parent, prop, text, position=None):
context = "property %s:%s: " % (parent.name, prop.name, )
- message.warn_node(parent, context + text, positions=position)
+ message.strict_node(parent, context + text, positions=position)
def _property_signal_collision(self, obj, prop):
for s in obj.signals: