From: Jürg Billeter Date: Fri, 14 Nov 2008 18:38:53 +0000 (+0000) Subject: Fix non-struct output arguments in dynamic D-Bus method calls X-Git-Tag: VALA_0_5_2~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=364db6948efc3fd46dcd98478f43d2fce6a30937;p=thirdparty%2Fvala.git Fix non-struct output arguments in dynamic D-Bus method calls 2008-11-14 Jürg Billeter * gobject/valadbusclientmodule.vala: Fix non-struct output arguments in dynamic D-Bus method calls svn path=/trunk/; revision=2019 --- diff --git a/ChangeLog b/ChangeLog index e7b664446..db6f1b242 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-11-14 Jürg Billeter + + * gobject/valadbusclientmodule.vala: + + Fix non-struct output arguments in dynamic D-Bus method calls + 2008-11-14 Jürg Billeter * vala/Makefile.am: diff --git a/gobject/valadbusclientmodule.vala b/gobject/valadbusclientmodule.vala index 068c7f2d9..753806855 100644 --- a/gobject/valadbusclientmodule.vala +++ b/gobject/valadbusclientmodule.vala @@ -377,7 +377,7 @@ public class Vala.DBusClientModule : GAsyncModule { ccall.add_argument (new CCodeUnaryExpression (CCodeUnaryOperator.ADDRESS_OF, new CCodeIdentifier ("dbus_%s".printf (param.name)))); } else { ccall.add_argument (new CCodeIdentifier (param.parameter_type.data_type.get_type_id ())); - ccall.add_argument (new CCodeUnaryExpression (CCodeUnaryOperator.ADDRESS_OF, new CCodeIdentifier (param.name))); + ccall.add_argument (new CCodeIdentifier (param.name)); } }