diff options
author | Colin Walters <walters@src.gnome.org> | 2008-11-17 00:27:41 +0000 |
---|---|---|
committer | Colin Walters <walters@src.gnome.org> | 2008-11-17 00:27:41 +0000 |
commit | f889a05156a780be8019a08e1e4604aa36c6d0ee (patch) | |
tree | ae07573a74ccc328f0ad734ca52f4fe58fad227f | |
parent | ac563ee689208d4c7472074c08f5306140841e10 (diff) | |
download | gobject-introspection-f889a05156a780be8019a08e1e4604aa36c6d0ee.tar.gz |
Parse interface prerequisites
svn path=/trunk/; revision=934
-rw-r--r-- | giscanner/girparser.py | 2 |
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')): |