summaryrefslogtreecommitdiff
path: root/giscanner/maintransformer.py
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/maintransformer.py')
-rw-r--r--giscanner/maintransformer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/maintransformer.py b/giscanner/maintransformer.py
index 90b702d8..19e3f24c 100644
--- a/giscanner/maintransformer.py
+++ b/giscanner/maintransformer.py
@@ -591,7 +591,7 @@ class MainTransformer(object):
else:
node.nullable = True
- if (node.direction == ast.PARAM_DIRECTION_IN and
+ if (node.direction != ast.PARAM_DIRECTION_OUT and
(node.type.target_giname == 'Gio.AsyncReadyCallback' or
node.type.target_giname == 'Gio.Cancellable')):
node.nullable = True