From: Jürg Billeter Date: Thu, 25 Jun 2009 13:19:09 +0000 (+0200) Subject: Fix type declaration for static fields X-Git-Tag: 0.7.4~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8421e368d4bbd04b5fe5757e6e7857d5264e1aa7;p=thirdparty%2Fvala.git Fix type declaration for static fields --- diff --git a/codegen/valaccodebasemodule.vala b/codegen/valaccodebasemodule.vala index dfd11ccbb..23d056873 100644 --- a/codegen/valaccodebasemodule.vala +++ b/codegen/valaccodebasemodule.vala @@ -800,6 +800,8 @@ internal class Vala.CCodeBaseModule : CCodeModule { return; } + generate_type_declaration (f.field_type, decl_space); + string field_ctype = f.field_type.get_cname (); if (f.is_volatile) { field_ctype = "volatile " + field_ctype;