From: Jürg Billeter Date: Tue, 9 Mar 2010 20:35:21 +0000 (+0100) Subject: Fix generated destroy function wrappers X-Git-Tag: 0.8.0~225 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72ef64a0170de8a6d37c85dbef1ec3a5b80df5a7;p=thirdparty%2Fvala.git Fix generated destroy function wrappers The function declaration was missing the static modifier. --- diff --git a/codegen/valaccodebasemodule.vala b/codegen/valaccodebasemodule.vala index 5667156b9..32a43cb1b 100644 --- a/codegen/valaccodebasemodule.vala +++ b/codegen/valaccodebasemodule.vala @@ -2663,6 +2663,7 @@ internal class Vala.CCodeBaseModule : CCodeModule { // declaration var function = new CCodeFunction (destroy_func, "void"); + function.modifiers = CCodeModifiers.STATIC; function.add_parameter (new CCodeFormalParameter ("self", type.get_cname ())); // definition