diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2022-02-13 11:54:33 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2022-02-13 11:54:33 +0000 |
commit | 63c1cb8982b78cf329311cec3702e4cbd1f2b2b2 (patch) | |
tree | bbd73f2d6dd27a9aad96138f0075c4dac6d337bb /giscanner | |
parent | 25e5d50fa881b133acdac4cc4675dadd6f3e6242 (diff) | |
download | gobject-introspection-63c1cb8982b78cf329311cec3702e4cbd1f2b2b2.tar.gz |
Revert "scanner: Mark colliding properties as not introspectable"
This reverts commit 8e85d1ca937c166f07675d02fc84abb27d06ae11.
Marking colliding properties as not introspectable breaks
a bunch of existing API when compiling the GIR into the
typelib, so we'll have to find another solution during the
grace period.
Diffstat (limited to 'giscanner')
-rw-r--r-- | giscanner/introspectablepass.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/giscanner/introspectablepass.py b/giscanner/introspectablepass.py index 419c3d7e..1a576900 100644 --- a/giscanner/introspectablepass.py +++ b/giscanner/introspectablepass.py @@ -307,7 +307,6 @@ class IntrospectablePass(object): continue if s.name.replace('-', '_') == prop.name.replace('-', '_'): self._property_warning(obj, prop, "Properties cannot have the same name as signals") - prop.introspectable = False return False def _property_method_collision(self, obj, prop): @@ -316,7 +315,6 @@ class IntrospectablePass(object): continue if m.name == prop.name.replace('-', '_'): self._property_warning(obj, prop, "Properties cannot have the same name as methods") - prop.introspectable = False return False def _property_vfunc_collision(self, obj, prop): @@ -325,7 +323,6 @@ class IntrospectablePass(object): continue if vfunc.name == prop.name.replace('-', '_'): self._property_warning(obj, prop, "Properties cannot have the same name as virtual methods") - prop.introspectable = False return False def _introspectable_symbol_collisions(self, obj, stack): |