gobject-introspection r651 - in trunk: . giscanner



Author: lucasr
Date: Fri Oct  3 17:09:40 2008
New Revision: 651
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=651&view=rev

Log:
2008-10-03  Lucas Rocha  <lucasr gnome org>

	* giscanner/girwriter.py (_parser_member): fix the last parameter of
	GLibEnumMember constructor as it should be the enum member nick.


Modified:
   trunk/ChangeLog
   trunk/giscanner/girparser.py

Modified: trunk/giscanner/girparser.py
==============================================================================
--- trunk/giscanner/girparser.py	(original)
+++ trunk/giscanner/girparser.py	Fri Oct  3 17:09:40 2008
@@ -193,7 +193,7 @@
         return GLibEnumMember(node.attrib['name'],
                               node.attrib['value'],
                               node.attrib[_cns('identifier')],
-                              node.attrib.get(_glibns('get-type')))
+                              node.attrib.get(_glibns('nick')))
 
     def _parse_enumeration_bitfield(self, node):
         klass = (GLibFlags if node.tag == _corens('bitfield') else GLibEnum)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]