[vala] D-Bus: Support DBus.signature attribute for struct fields



commit b3e19eba39e882ac42cbd69fb48b361186ea2636
Author: Jürg Billeter <j bitron ch>
Date:   Tue Mar 22 21:39:23 2011 +0100

    D-Bus: Support DBus.signature attribute for struct fields
    
    Fixes bug 645528.

 codegen/valagvariantmodule.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/codegen/valagvariantmodule.vala b/codegen/valagvariantmodule.vala
index 6e87eb0..b357ae4 100644
--- a/codegen/valagvariantmodule.vala
+++ b/codegen/valagvariantmodule.vala
@@ -118,7 +118,7 @@ public class Vala.GVariantModule : GAsyncModule {
 				str.append_c ('(');
 				foreach (Field f in st.get_fields ()) {
 					if (f.binding == MemberBinding.INSTANCE) {
-						str.append (get_type_signature (f.variable_type));
+						str.append (get_type_signature (f.variable_type, f));
 					}
 				}
 				str.append_c (')');



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