summaryrefslogtreecommitdiff
path: root/giscanner/ast.py
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-02-24 09:49:28 -0500
committerColin Walters <walters@verbum.org>2013-02-26 16:25:10 -0500
commitd2f9c78e30f3fe4dc8d072d23445d6d6cd15b586 (patch)
treee6b7231c4b7a5759cec01d8e324844c1e2bbe833 /giscanner/ast.py
parentd29bc4e5a9f89cf4c831ca79a2a2139906f9a4b1 (diff)
downloadgobject-introspection-d2f9c78e30f3fe4dc8d072d23445d6d6cd15b586.tar.gz
scanner: Also traverse GObject properties when walking namespace
This could be done manually by the caller, but it's better if we're consistent here, since we do traverse fields. https://bugzilla.gnome.org/show_bug.cgi?id=694593
Diffstat (limited to 'giscanner/ast.py')
-rw-r--r--giscanner/ast.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/ast.py b/giscanner/ast.py
index c2f89a62..09616f65 100644
--- a/giscanner/ast.py
+++ b/giscanner/ast.py
@@ -1020,6 +1020,8 @@ class Class(Node, Registered):
field.anonymous_node.walk(callback, chain)
for sig in self.signals:
sig.walk(callback, chain)
+ for prop in self.properties:
+ prop.walk(callback, chain)
class Interface(Node, Registered):