[gobject-introspection/wip/docs-3: 3/8] scanner: Also traverse GObject properties when walking namespace
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection/wip/docs-3: 3/8] scanner: Also traverse GObject properties when walking namespace
- Date: Sun, 24 Feb 2013 19:28:23 +0000 (UTC)
commit 2c1e0f6c605af25ad64e478d9e3e1db7bc7e17c8
Author: Colin Walters <walters verbum org>
Date: Sun Feb 24 09:49:28 2013 -0500
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
giscanner/ast.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/giscanner/ast.py b/giscanner/ast.py
index c2f89a6..09616f6 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):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]