Commit 4319e4f3 authored by Philip Chimento's avatar Philip Chimento 🚮

giscanner: Allow fields which are callbacks

This is apparently used in Gee-0.8 and Folks-0.6.
parent 551a3f77
Pipeline #73913 passed with stages
in 8 minutes and 30 seconds
......@@ -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'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment