summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-02-24 09:49:28 -0500
committerColin Walters <walters@verbum.org>2013-02-24 10:32:49 -0500
commit2c1e0f6c605af25ad64e478d9e3e1db7bc7e17c8 (patch)
tree56d59775993f31b9ec3a21c5f95e2fa2cdd89654
parentb468f8302ce44f04f0eddd2cdceff902d5690dca (diff)
downloadgobject-introspection-2c1e0f6c605af25ad64e478d9e3e1db7bc7e17c8.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
-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):