diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2021-06-16 17:04:42 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gmail.com> | 2022-02-12 11:09:52 +0000 |
commit | f36f2a00698f0cb4450b04fd59af6412b592e609 (patch) | |
tree | 8e3fb1c72d878b7cb7314d7e60fac180f6e26979 | |
parent | 8ec097772459d67d5a7e888f5096f3f04a422ba1 (diff) | |
download | gobject-introspection-f36f2a00698f0cb4450b04fd59af6412b592e609.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.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/introspectablepass.py b/giscanner/introspectablepass.py index 0f51ada4..e51c22b1 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: |