diff options
Diffstat (limited to 'giscanner/girparser.py')
-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 57f3e908..909e08d9 100644 --- a/giscanner/girparser.py +++ b/giscanner/girparser.py @@ -318,7 +318,7 @@ class GIRParser(object): raise ValueError('node %r has no return-value' % (name, )) transfer = returnnode.attrib.get('transfer-ownership') nullable = returnnode.attrib.get('nullable') == '1' - retval = ast.Return(self._parse_type(returnnode), nullable, transfer) + retval = ast.Return(self._parse_type(returnnode), nullable, False, transfer) self._parse_generic_attribs(returnnode, retval) parameters = [] |