diff options
Diffstat (limited to 'giscanner/maintransformer.py')
-rw-r--r-- | giscanner/maintransformer.py | 2 |
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 |