summaryrefslogtreecommitdiff
path: root/giscanner/docwriter.py
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/docwriter.py')
-rw-r--r--giscanner/docwriter.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/giscanner/docwriter.py b/giscanner/docwriter.py
index db271052..7852289a 100644
--- a/giscanner/docwriter.py
+++ b/giscanner/docwriter.py
@@ -780,8 +780,10 @@ class DocFormatterGjs(DocFormatterIntrospectableBase):
if node.retval.type.target_fundamental == 'gboolean':
name = 'ok'
- params.append(ast.Parameter(name, node.retval.type,
- ast.PARAM_DIRECTION_OUT))
+ ret_param = ast.Parameter(name, node.retval.type,
+ ast.PARAM_DIRECTION_OUT)
+ ret_param.doc = node.retval.doc
+ params.append(ret_param)
for param in node.parameters:
if param not in skip:
params.append(param)