summaryrefslogtreecommitdiff
path: root/giscanner
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.com>2012-02-19 15:33:48 +0100
committerTomeu Vizoso <tomeu.vizoso@collabora.com>2012-02-19 15:33:48 +0100
commit97d0f444bee30a7553e70e3add3236a119d00cf4 (patch)
tree626462bdbce7876ecef84103352c164931f539c2 /giscanner
parent14a438299675a5df7d931adf87b9d935ea8381bc (diff)
downloadgobject-introspection-97d0f444bee30a7553e70e3add3236a119d00cf4.tar.gz
g-ir-doc-tool: Remove some occurrences of empty Returns: lines
Diffstat (limited to 'giscanner')
-rw-r--r--giscanner/mallard-Python-function.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/mallard-Python-function.tmpl b/giscanner/mallard-Python-function.tmpl
index c9bdf8f5..7aa25e8e 100644
--- a/giscanner/mallard-Python-function.tmpl
+++ b/giscanner/mallard-Python-function.tmpl
@@ -74,7 +74,7 @@ ${formatter.format(node.doc)}
<td>${formatter.format(arg.doc)}</td>
</tr>
% endfor
-% if node.retval:
+% if node.retval and node.retval.type.ctype != 'void':
<tr>
<td><p>Returns :</p></td>
<td>${formatter.format(node.retval.doc)}</td>