[vala] dova: Fix static field initialization



commit 769a11e44289bf9b12ee0c28a9066c397da94e51
Author: Jürg Billeter <j bitron ch>
Date:   Sun Jul 11 15:33:03 2010 +0200

    dova: Fix static field initialization

 codegen/valadovaobjectmodule.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/codegen/valadovaobjectmodule.vala b/codegen/valadovaobjectmodule.vala
index f04525e..35aadc5 100644
--- a/codegen/valadovaobjectmodule.vala
+++ b/codegen/valadovaobjectmodule.vala
@@ -1407,6 +1407,8 @@ internal class Vala.DovaObjectModule : DovaArrayModule {
 
 			main_block.add_statement (new CCodeExpressionStatement (new CCodeFunctionCall (new CCodeIdentifier ("dova_init"))));
 
+			main_block.add_statement (module_init_fragment);
+
 			var cdecl = new CCodeDeclaration ("int");
 			cdecl.add_declarator (new CCodeVariableDeclarator ("result", new CCodeConstant ("0")));
 			main_block.add_statement (cdecl);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]