gobject-introspection r700 - in trunk: . giscanner



Author: juergbi
Date: Sun Oct 12 22:44:27 2008
New Revision: 700
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=700&view=rev

Log:
2008-10-12  JÃrg Billeter  <j bitron ch>

	* giscanner/girparser.py: Parse bits attribute of fields


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

Modified: trunk/giscanner/girparser.py
==============================================================================
--- trunk/giscanner/girparser.py	(original)
+++ trunk/giscanner/girparser.py	Sun Oct 12 22:44:27 2008
@@ -238,7 +238,8 @@
         type_node = self._parse_type(node)
         return Field(node.attrib['name'],
                      type_node,
-                     type_node.ctype)
+                     type_node.ctype,
+                     node.attrib.get('bits'))
 
     def _parse_property(self, node):
         type_node = self._parse_type(node)



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