gobject-introspection r1014 - branches/annotation/giscanner
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r1014 - branches/annotation/giscanner
- Date: Sun, 11 Jan 2009 23:49:45 +0000 (UTC)
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]