gobject-introspection r1014 - branches/annotation/giscanner



Author: johan
Date: Sun Jan 11 23:49:45 2009
New Revision: 1014
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=1014&view=rev

Log:
Do not override the previously set allow_none option

Modified:
   branches/annotation/giscanner/annotationparser.py

Modified: branches/annotation/giscanner/annotationparser.py
==============================================================================
--- branches/annotation/giscanner/annotationparser.py	(original)
+++ branches/annotation/giscanner/annotationparser.py	Sun Jan 11 23:49:45 2009
@@ -329,7 +329,8 @@
         if not node.direction:
             node.direction = self._guess_direction(node)
         node.transfer = self._extract_transfer(parent, node, options)
-        node.allow_none = 'allow-none' in options
+        if 'allow-none' in options:
+            node.allow_none = True
 
         assert node.transfer is not None
 



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