From: Jürg Billeter Date: Tue, 26 Oct 2010 15:39:11 +0000 (+0200) Subject: codegen: Fix support for g_boxed_copy X-Git-Tag: 0.10.1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=750123332b0f639ef87e9f2384bf24b8ad65dc80;p=thirdparty%2Fvala.git codegen: Fix support for g_boxed_copy --- diff --git a/codegen/valaccodebasemodule.vala b/codegen/valaccodebasemodule.vala index 261ae0449..bf78f9d15 100644 --- a/codegen/valaccodebasemodule.vala +++ b/codegen/valaccodebasemodule.vala @@ -2412,7 +2412,7 @@ public class Vala.CCodeBaseModule : CodeGenerator { } } else if (cl != null && cl.is_gboxed) { // allow duplicates of gboxed instances - dup_function = type.data_type.get_dup_function (); + dup_function = generate_dup_func_wrapper (type); if (dup_function == null) { dup_function = ""; }