From: Juerg Billeter Date: Mon, 24 Dec 2007 19:20:20 +0000 (+0000) Subject: fix void types with vapigen X-Git-Tag: VALA_0_1_6~80 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d18ff30d6f7cfc8b4cc981e32cfa4398153374e4;p=thirdparty%2Fvala.git fix void types with vapigen 2007-12-24 Juerg Billeter * vala/valasymbolresolver.vala: fix void types with vapigen svn path=/trunk/; revision=787 --- diff --git a/ChangeLog b/ChangeLog index 72b522d85..c71df9efd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-12-24 Jürg Billeter + + * vala/valasymbolresolver.vala: fix void types with vapigen + 2007-12-24 Jürg Billeter * vapi/gio-2.0.vapi, vapi/packages/gio-2.0/: update to glib 2.15.0 diff --git a/vala/valasymbolresolver.vala b/vala/valasymbolresolver.vala index aaf5c61ae..8fd0f2630 100644 --- a/vala/valasymbolresolver.vala +++ b/vala/valasymbolresolver.vala @@ -194,7 +194,7 @@ public class Vala.SymbolResolver : CodeVisitor { // still required for vapigen if (unresolved_type.type_name == "void") { - return type; + return new VoidType (); } if (unresolved_type.namespace_name == null) {