[vala] D-Bus: Fix parameters in signal wrappers
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] D-Bus: Fix parameters in signal wrappers
- Date: Wed, 1 Apr 2009 09:59:19 -0400 (EDT)
commit d55fd9b4ce09b424582eedfac79a8b3b4a4f651c
Author: Jürg Billeter <j bitron ch>
Date: Wed Apr 1 15:58:34 2009 +0200
D-Bus: Fix parameters in signal wrappers
---
gobject/valadbusservermodule.vala | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/gobject/valadbusservermodule.vala b/gobject/valadbusservermodule.vala
index caede6a..c9c2643 100644
--- a/gobject/valadbusservermodule.vala
+++ b/gobject/valadbusservermodule.vala
@@ -246,6 +246,9 @@ internal class Vala.DBusServerModule : DBusClientModule {
function.add_parameter (new CCodeFormalParameter ("_sender", "GObject*"));
foreach (var param in sig.get_parameters ()) {
+ // ensure ccodenode of parameter is set
+ generate_parameter (param, source_declarations, new HashMap<int,CCodeFormalParameter> (), null);
+
function.add_parameter ((CCodeFormalParameter) get_ccodenode (param));
if (param.parameter_type is ArrayType) {
var array_type = (ArrayType) param.parameter_type;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]