--- vala-0.7.4/codegen/valatyperegisterfunction.c.moduleinit 2009-06-14 12:53:17.000000000 -0400 +++ vala-0.7.4/codegen/valatyperegisterfunction.c 2009-07-14 15:16:16.546338051 -0400 @@ -238,7 +238,7 @@ if (!plugin) { vala_ccode_block_add_statement (type_block, (ValaCCodeNode*) _cdecl_); } else { - vala_ccode_fragment_append (self->priv->definition_fragment, (ValaCCodeNode*) _cdecl_); + vala_ccode_fragment_append (self->priv->declaration_fragment, (ValaCCodeNode*) _cdecl_); } fun = NULL; if (!plugin) {