]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
fix void types with vapigen
authorJuerg Billeter <j@bitron.ch>
Mon, 24 Dec 2007 19:20:20 +0000 (19:20 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Mon, 24 Dec 2007 19:20:20 +0000 (19:20 +0000)
2007-12-24  Juerg Billeter  <j@bitron.ch>

* vala/valasymbolresolver.vala: fix void types with vapigen

svn path=/trunk/; revision=787

ChangeLog
vala/valasymbolresolver.vala

index 72b522d857afa99a111c31438fe6273e26dbaf73..c71df9efddf0d7c06879b45c5556984ae02ada32 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-12-24  Jürg Billeter  <j@bitron.ch>
+
+       * vala/valasymbolresolver.vala: fix void types with vapigen
+
 2007-12-24  Jürg Billeter  <j@bitron.ch>
 
        * vapi/gio-2.0.vapi, vapi/packages/gio-2.0/: update to glib 2.15.0
index aaf5c61ae978e7b3b6f88c59590b806eb968ee7f..8fd0f2630777424f493515c8743c8d29506ed164 100644 (file)
@@ -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) {