Permalink
Browse files

g-ir-doc-tool: Remove some occurrences of empty Returns: lines

  • Loading branch information...
1 parent 14a4382 commit 97d0f444bee30a7553e70e3add3236a119d00cf4 @tomeuv tomeuv committed Feb 19, 2012
@@ -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>
@@ -24,9 +24,5 @@ def unref()
drops to 0, the info is freed.</p>
<table>
-<tr>
-<td><p>Returns :</p></td>
-<td></td>
-</tr>
</table>
</page>
@@ -32,9 +32,5 @@ def prepend_search_path(directory)
<td><p>directory :</p></td>
<td></td>
</tr>
-<tr>
-<td><p>Returns :</p></td>
-<td></td>
-</tr>
</table>
</page>
@@ -42,9 +42,5 @@ allocation.</p><p>The initialized @type must not be referenced after @info is de
<td><p>type :</p></td>
<td><p>Initialized with information about type of @info</p></td>
</tr>
-<tr>
-<td><p>Returns :</p></td>
-<td></td>
-</tr>
</table>
</page>
@@ -50,9 +50,5 @@ allocation.</p><p>The initialized @arg must not be referenced after @info is dea
<td><p>arg :</p></td>
<td><p>Initialize with argument number @n</p></td>
</tr>
-<tr>
-<td><p>Returns :</p></td>
-<td></td>
-</tr>
</table>
</page>
@@ -42,9 +42,5 @@ allocation.</p><p>The initialized @type must not be referenced after @info is de
<td><p>type :</p></td>
<td><p>Initialized with return type of @info</p></td>
</tr>
-<tr>
-<td><p>Returns :</p></td>
-<td></td>
-</tr>
</table>
</page>
@@ -40,10 +40,6 @@ def constant_info_free_value(info, value)
<td><p>value :</p></td>
<td><p>the argument</p></td>
</tr>
-<tr>
-<td><p>Returns :</p></td>
-<td></td>
-</tr>
</table>
<p>Since 1.30.1</p>
</page>

0 comments on commit 97d0f44

Please sign in to comment.