]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Do not require interface implementations in fast-vapi
authorJürg Billeter <j@bitron.ch>
Fri, 10 Sep 2010 07:38:40 +0000 (09:38 +0200)
committerJürg Billeter <j@bitron.ch>
Fri, 17 Sep 2010 23:00:14 +0000 (01:00 +0200)
vala/valaclass.vala

index 06cc7eabaf4a115dd59acc177db12ebfc82922c9..3fed0b41bb611bb24c5aa0996835e27665fce29b 100644 (file)
@@ -1130,7 +1130,7 @@ public class Vala.Class : ObjectTypeSymbol {
                }
 
                /* VAPI classes don't have to specify overridden methods */
-               if (!external_package) {
+               if (source_type == SourceFileType.SOURCE) {
                        /* all abstract symbols defined in base types have to be at least defined (or implemented) also in this type */
                        foreach (DataType base_type in get_base_types ()) {
                                if (base_type.data_type is Interface) {