]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
D-Bus: Support DBus.signature attribute for struct fields
authorJürg Billeter <j@bitron.ch>
Tue, 22 Mar 2011 20:39:23 +0000 (21:39 +0100)
committerJürg Billeter <j@bitron.ch>
Tue, 22 Mar 2011 20:39:23 +0000 (21:39 +0100)
Fixes bug 645528.

codegen/valagvariantmodule.vala

index 6e87eb06aafcdcef1eb6d78e031bea01a8a87412..b357ae4462f9daea7c34b2888e5f18a794a6041f 100644 (file)
@@ -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 (')');