]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Fix has_type_id attribute writing in VAPI files
authorJürg Billeter <j@bitron.ch>
Sat, 16 Jan 2010 19:47:24 +0000 (20:47 +0100)
committerJürg Billeter <j@bitron.ch>
Sat, 16 Jan 2010 19:47:24 +0000 (20:47 +0100)
vala/valacodewriter.vala

index a23f05f996cb043e084aa0f029fbac40b7110d74..99252cbd09ab266a39ace05e5b7586e54bea757d 100644 (file)
@@ -321,7 +321,7 @@ public class Vala.CodeWriter : CodeVisitor {
                }
 
                if (!st.has_type_id) {
-                       write_string ("has_type_id = false");
+                       write_string ("has_type_id = false");
                } else if (!st.is_simple_type () && st.get_type_id () != "G_TYPE_POINTER") {
                        write_string ("type_id = \"%s\", ".printf (st.get_type_id ()));
                }
@@ -472,7 +472,7 @@ public class Vala.CodeWriter : CodeVisitor {
                write_string ("[CCode (cprefix = \"%s\", ".printf (en.get_cprefix ()));
 
                if (!en.has_type_id) {
-                       write_string ("has_type_id = false");
+                       write_string ("has_type_id = false");
                }
 
                write_string ("cheader_filename = \"%s\")]".printf (get_cheaders(en)));