summaryrefslogtreecommitdiff
path: root/giscanner/girparser.py
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2010-09-20 17:44:09 -0300
committerJohan Dahlin <johan@gnome.org>2010-09-20 18:54:42 -0300
commit8398ce7b33dd9b6866795998d60e9bc7bb7090e2 (patch)
tree5f6350087bf890d3e43d472829d2e3cd8a6ca8e8 /giscanner/girparser.py
parent635b6ec35fbb1c2355e9b8b336f1a9164cc44034 (diff)
downloadgobject-introspection-8398ce7b33dd9b6866795998d60e9bc7bb7090e2.tar.gz
[scanner] Support private/public directives
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=594125
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 8b638bf1..06901dcb 100644
--- a/giscanner/girparser.py
+++ b/giscanner/girparser.py
@@ -490,6 +490,7 @@ class GIRParser(object):
node.attrib.get('writable') == '1',
node.attrib.get('bits'),
anonymous_node=anonymous_node)
+ field.private = node.attrib.get('private') == '1'
self._parse_generic_attribs(node, field)
return field