summaryrefslogtreecommitdiff
path: root/giscanner/girparser.py
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/girparser.py')
-rw-r--r--giscanner/girparser.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/giscanner/girparser.py b/giscanner/girparser.py
index 5c37eb63..7858342f 100644
--- a/giscanner/girparser.py
+++ b/giscanner/girparser.py
@@ -48,6 +48,10 @@ class GIRParser(object):
for child in ns.getchildren():
if child.tag == _corens('class'):
self._parse_object(child)
+ elif child.tag in [_corens('callback'),
+ _corens('function'),
+ _corens('record')]:
+ continue
else:
print 'PARSER: Unhandled %s' % (child.tag,)