summaryrefslogtreecommitdiff
path: root/giscanner/gdumpparser.py
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2011-01-05 16:32:44 -0500
committerColin Walters <walters@verbum.org>2011-01-05 16:38:36 -0500
commitf132cc5dfb232815f5fefc57fcf565cad51ff1dc (patch)
tree93d80bab62b53f398a6d016cd3c86ef08c2ffd5e /giscanner/gdumpparser.py
parentf99dee8efd9fd3125273b644b7ebea98626eb664 (diff)
downloadgobject-introspection-f132cc5dfb232815f5fefc57fcf565cad51ff1dc.tar.gz
scanner: Fix handling of property transfer
* gdumpparser.py was incorrectly passing the ctype for transfer * Property constructor wasn't actually doing anything with passed transfer * Parse transfer-ownership in girparser
Diffstat (limited to 'giscanner/gdumpparser.py')
-rw-r--r--giscanner/gdumpparser.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/giscanner/gdumpparser.py b/giscanner/gdumpparser.py
index 39440c60..eb43a5f8 100644
--- a/giscanner/gdumpparser.py
+++ b/giscanner/gdumpparser.py
@@ -419,9 +419,7 @@ different --identifier-prefix.""" % (xmlnode.attrib['name'], self._namespace.ide
node.properties.append(ast.Property(
pspec.attrib['name'],
ast.Type.create_from_gtype_name(ctype),
- readable, writable, construct, construct_only,
- ctype,
- ))
+ readable, writable, construct, construct_only))
node.properties = node.properties
def _introspect_signals(self, node, xmlnode):