[gobject-introspection] mallardwriter: Use lookup_typenode to look up a Type node



commit 217916ca496827aa494d956787e2700b21c66aaa
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Jan 31 18:35:01 2013 -0500

    mallardwriter: Use lookup_typenode to look up a Type node
    
    Functions that do what we want? What a concept!

 giscanner/mallardwriter.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/mallardwriter.py b/giscanner/mallardwriter.py
index 191a47f..2d435aa 100644
--- a/giscanner/mallardwriter.py
+++ b/giscanner/mallardwriter.py
@@ -341,7 +341,7 @@ class MallardFormatter(object):
         parent_chain = [node]
 
         while node.parent:
-            node = self._transformer.lookup_giname(str(node.parent))
+            node = self._transformer.lookup_typenode(node.parent)
             parent_chain.append(node)
 
         parent_chain.reverse()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]