summaryrefslogtreecommitdiff
path: root/codegen
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2021-08-10 14:03:08 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2021-08-10 14:18:38 +0200
commitc68a9d0489f4d2fdd1a4d9aee0e5c0739579bfa2 (patch)
tree0788b7801c4cdf94d9b8e59e10e5172e245a626c /codegen
parent9572175213c300e50476835fe1201ff4b040ec36 (diff)
downloadvala-c68a9d0489f4d2fdd1a4d9aee0e5c0739579bfa2.tar.gz
girwriter: Write missing c:type attribute of compact class record
Thanks to Niels De Graef
Diffstat (limited to 'codegen')
-rw-r--r--codegen/valagirwriter.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/codegen/valagirwriter.vala b/codegen/valagirwriter.vala
index 4548f890a..997d899ff 100644
--- a/codegen/valagirwriter.vala
+++ b/codegen/valagirwriter.vala
@@ -609,6 +609,7 @@ public class Vala.GIRWriter : CodeVisitor {
} else {
write_indent ();
buffer.append_printf ("<record name=\"%s\"", get_gir_name (cl));
+ write_ctype_attributes (cl);
write_symbol_attributes (cl);
buffer.append_printf (">\n");
indent++;