]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
girparser: Handle the abstract attribute of the gir for classes
authorLuca Bruno <lucabru@src.gnome.org>
Sun, 17 Jul 2011 18:31:03 +0000 (20:31 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Sun, 17 Jul 2011 18:31:03 +0000 (20:31 +0200)
vala/valagirparser.vala

index 044f2d4940564f1013b3cef7f63882879faee5cf..8495ab24658301f34d0c4b8622bcce7b212c347e 100644 (file)
@@ -2207,6 +2207,7 @@ public class Vala.GirParser : CodeVisitor {
                        if (metadata.has_argument (ArgumentType.CPREFIX)) {
                                cl.set_lower_case_cprefix (metadata.get_string (ArgumentType.CPREFIX));
                        }
+                       cl.is_abstract = reader.get_attribute ("abstract") == "1";
 
                        if (parent != null) {
                                cl.add_base_type (parse_type_from_gir_name (parent));