diff options
Diffstat (limited to 'giscanner/introspectablepass.py')
-rw-r--r-- | giscanner/introspectablepass.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/giscanner/introspectablepass.py b/giscanner/introspectablepass.py index 6a999f9f..5bed3ef7 100644 --- a/giscanner/introspectablepass.py +++ b/giscanner/introspectablepass.py @@ -272,6 +272,7 @@ 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): @@ -280,6 +281,7 @@ 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): @@ -288,6 +290,7 @@ 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): |