[vala] codegen: Fix support for g_boxed_copy
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] codegen: Fix support for g_boxed_copy
- Date: Tue, 26 Oct 2010 15:40:34 +0000 (UTC)
commit 1a80ec17c8192828f5dbd8f20ff3315aa011ac94
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 2045dff..4f4effa 100644
--- a/codegen/valaccodebasemodule.vala
+++ b/codegen/valaccodebasemodule.vala
@@ -2335,7 +2335,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]