]> 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, 10 Sep 2010 15:35:24 +0000 (17:35 +0200)
vala/valaclass.vala

index ac6f332c2637b4077d218409f17ffc060c134022..6a0253ae3e94db86bd03bfb0ce0831e2d5de448c 100644 (file)
@@ -1160,7 +1160,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) {