gobject-introspection r755 - trunk/giscanner



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]