summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@src.gnome.org>2008-11-17 00:27:41 +0000
committerColin Walters <walters@src.gnome.org>2008-11-17 00:27:41 +0000
commitf889a05156a780be8019a08e1e4604aa36c6d0ee (patch)
treeae07573a74ccc328f0ad734ca52f4fe58fad227f
parentac563ee689208d4c7472074c08f5306140841e10 (diff)
downloadgobject-introspection-f889a05156a780be8019a08e1e4604aa36c6d0ee.tar.gz
Parse interface prerequisites
svn path=/trunk/; revision=934
-rw-r--r--giscanner/girparser.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/girparser.py b/giscanner/girparser.py
index 02c78b97..cb391e74 100644
--- a/giscanner/girparser.py
+++ b/giscanner/girparser.py
@@ -151,6 +151,8 @@ class GIRParser(object):
ctor_args.append(node.attrib.get(_cns('type')))
for iface in node.findall(_corens('implements')):
obj.interfaces.append(iface.attrib['name'])
+ for iface in node.findall(_corens('prerequisites')):
+ obj.prerequisities.append(iface.attrib['name'])
for method in node.findall(_corens('method')):
obj.methods.append(self._parse_function_common(method, Function))
for ctor in node.findall(_corens('constructor')):