diff options
Diffstat (limited to 'giscanner/introspectablepass.py')
-rw-r--r-- | giscanner/introspectablepass.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/introspectablepass.py b/giscanner/introspectablepass.py index 84c2c8e5..bf41b75e 100644 --- a/giscanner/introspectablepass.py +++ b/giscanner/introspectablepass.py @@ -257,6 +257,8 @@ class IntrospectablePass(object): if m.skip or not m.introspectable: continue if m.name == prop.name.replace('-', '_'): + if prop.attributes and prop.attributes['org.gtk.Property.get'] == m.symbol: + continue self._property_warning(obj, prop, "Properties cannot have the same name as methods") return False |