summaryrefslogtreecommitdiff
path: root/giscanner/girparser.py
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/girparser.py')
-rw-r--r--giscanner/girparser.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/giscanner/girparser.py b/giscanner/girparser.py
index 25e9035d..cac166d0 100644
--- a/giscanner/girparser.py
+++ b/giscanner/girparser.py
@@ -585,5 +585,6 @@ class GIRParser(object):
members.append(member)
for func_node in self._find_children(node, _corens('function')):
func = self._parse_function_common(func_node, ast.Function)
+ func.parent = obj
obj.static_methods.append(func)
self._namespace.append(obj)