actually add the parsed constant nodes
authorJohan Bilien <jobi@via.ecp.fr>
Sun, 12 Oct 2008 21:38:21 +0000 (21:38 +0000)
committerJohan Bilien <jobi@src.gnome.org>
Sun, 12 Oct 2008 21:38:21 +0000 (21:38 +0000)
2008-10-12  Johan Bilien  <jobi@via.ecp.fr>

* giscanner/girparser.py: actually add the parsed constant nodes

svn path=/trunk/; revision=698

ChangeLog
giscanner/girparser.py

index 510e74b..92ddcb0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-10-12  Johan Bilien  <jobi@via.ecp.fr>
+
+       * giscanner/girparser.py: actually add the parsed constant nodes
+
 2008-10-12  Colin Walters  <walters@verbum.org>
 
        * girepository/girepository.c: Don't cast DirEntry to Blob,
index 8b72ad7..c24d7bd 100644 (file)
@@ -113,7 +113,7 @@ class GIRParser(object):
                           _corens('bitfield')]:
             self._parse_enumeration_bitfield(node)
         elif node.tag in _corens('constant'):
-            self._parse_constant(node)
+            self._add_node(self._parse_constant(node))
 
     def _parse_alias(self, node):
         return Alias(node.attrib['name'],