diff options
author | Philip Chimento <philip.chimento@gmail.com> | 2019-04-06 14:27:06 -0700 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2019-04-08 07:48:21 +0200 |
commit | c1b979e4ad34e30756dff8422bcf58cf281872ae (patch) | |
tree | aca7b78b0e587fa252c1e606e8478dd7c9c44c4a /giscanner | |
parent | cde0ea3134e12c509830a049cad96a85e9e82c32 (diff) | |
download | gobject-introspection-c1b979e4ad34e30756dff8422bcf58cf281872ae.tar.gz |
giscanner: Allow fields which are callbacks
This is apparently used in Gee-0.8 and Folks-0.6.
Diffstat (limited to 'giscanner')
-rw-r--r-- | giscanner/girparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/girparser.py b/giscanner/girparser.py index 5fa9f510..9ea408b4 100644 --- a/giscanner/girparser.py +++ b/giscanner/girparser.py @@ -542,7 +542,7 @@ class GIRParser(object): def _parse_field(self, node, parent): type_node = None anonymous_node = None - if node.tag in map(_corens, ('record', 'union')): + if node.tag in map(_corens, ('callback', 'record', 'union')): anonymous_elt = node else: anonymous_elt = self._find_first_child(node, _corens('callback')) |