gobject-introspection r755 - trunk/giscanner
- From: tko svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r755 - trunk/giscanner
- Date: Mon, 20 Oct 2008 13:44:15 +0000 (UTC)
Author: tko
Date: Mon Oct 20 13:44:15 2008
New Revision: 755
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=755&view=rev
Log:
giscanner: don't lose 'transfer-ownership' attributes when injecting
* giscanner/girparser.py (_parse_function): don't lose
'transfer-ownership' attributes when injecting, check for the
correct attribute
Modified:
trunk/giscanner/girparser.py
Modified: trunk/giscanner/girparser.py
==============================================================================
--- trunk/giscanner/girparser.py (original)
+++ trunk/giscanner/girparser.py Mon Oct 20 13:44:15 2008
@@ -165,7 +165,7 @@
param = Parameter(paramnode.attrib.get('name'),
self._parse_type(paramnode),
paramnode.attrib.get('direction'),
- paramnode.attrib.get('transfer'),
+ paramnode.attrib.get('transfer-ownership'),
paramnode.attrib.get('allow-none') == '1')
parameters.append(param)
if klass is Callback:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]