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, 3 insertions, 1 deletions
diff --git a/giscanner/girparser.py b/giscanner/girparser.py
index a20de210..d9cda8d2 100644
--- a/giscanner/girparser.py
+++ b/giscanner/girparser.py
@@ -606,8 +606,10 @@ class GIRParser(object):
node.attrib.get('construct') == '1',
node.attrib.get('construct-only') == '1',
node.attrib.get('transfer-ownership'))
- self._parse_generic_attribs(node, prop)
+ prop.setter = node.attrib.get('setter')
+ prop.getter = node.attrib.get('getter')
prop.parent = parent
+ self._parse_generic_attribs(node, prop)
return prop
def _parse_member(self, node):