[vala] GObject: Fix boxed property handling
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] GObject: Fix boxed property handling
- Date: Tue, 15 Sep 2009 21:15:24 +0000 (UTC)
commit 660c078356cfa5d0addc3a0a3aeed24cff9eab80
Author: Jürg Billeter <j bitron ch>
Date: Tue Sep 15 23:14:25 2009 +0200
GObject: Fix boxed property handling
codegen/valagobjectmodule.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/codegen/valagobjectmodule.vala b/codegen/valagobjectmodule.vala
index aaab3f8..bc357ea 100644
--- a/codegen/valagobjectmodule.vala
+++ b/codegen/valagobjectmodule.vala
@@ -226,6 +226,7 @@ internal class Vala.GObjectModule : GTypeModule {
ccall = new CCodeFunctionCall (new CCodeIdentifier ("%s_get_%s".printf (prefix, prop.name)));
ccall.add_argument (cself);
ccall.add_argument (new CCodeIdentifier ("boxed"));
+ cswitch.add_statement (new CCodeExpressionStatement (ccall));
var csetcall = new CCodeFunctionCall (new CCodeIdentifier ("g_value_take_boxed"));
csetcall.add_argument (new CCodeIdentifier ("value"));
csetcall.add_argument (new CCodeIdentifier ("boxed"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]