summaryrefslogtreecommitdiff
path: root/giscanner/girparser.py
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/girparser.py')
-rw-r--r--giscanner/girparser.py2
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'))