Commit 657a9a4c authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter
Browse files

another fix for libraries with generic types

2007-07-23  Juerg Billeter  <j@bitron.ch>

	* vala/valainterfacewriter.vala: another fix for libraries with generic
	  types

svn path=/trunk/; revision=376
parent 918761c6
2007-07-23 Jürg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala: another fix for libraries with generic
types
2007-07-23 Jürg Billeter <j@bitron.ch>
* vala/valasourcefile.vala, gobject/valacodegeneratorsourcefile.vala:
......
......@@ -547,8 +547,7 @@ public class Vala.InterfaceWriter : CodeVisitor {
if (!(m is CreationMethod)) {
write_string (" ");
var type = m.return_type.data_type;
if (type == null) {
if (m.return_type.data_type == null && m.return_type.type_parameter == null) {
write_string ("void");
} else {
if (m.return_type.transfers_ownership) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment