[vala] Do not require interface implementations in fast-vapi



commit 14d11e9de0494e4c4e2d41a88880a55a4481ac21
Author: Jürg Billeter <j bitron ch>
Date:   Fri Sep 10 09:38:40 2010 +0200

    Do not require interface implementations in fast-vapi

 vala/valaclass.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vala/valaclass.vala b/vala/valaclass.vala
index ac6f332..6a0253a 100644
--- a/vala/valaclass.vala
+++ b/vala/valaclass.vala
@@ -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) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]