[gobject-introspection] scanner: Also traverse GObject properties when walking namespace



commit d2f9c78e30f3fe4dc8d072d23445d6d6cd15b586
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]