[vala/0.10] codegen: Fix support for g_boxed_copy



commit 750123332b0f639ef87e9f2384bf24b8ad65dc80
Author: Jürg Billeter <j bitron ch>
Date:   Tue Oct 26 17:39:11 2010 +0200

    codegen: Fix support for g_boxed_copy

 codegen/valaccodebasemodule.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/codegen/valaccodebasemodule.vala b/codegen/valaccodebasemodule.vala
index 261ae04..bf78f9d 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 = "";
 				}



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