[vala/0.10-parallel: 42/46] Do not require interface implementations in fast-vapi



commit 86ab19f4822a5572239d426bbf7e2aecdfc95209
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 0380acb..55a3cdf 100644
--- a/vala/valaclass.vala
+++ b/vala/valaclass.vala
@@ -1122,7 +1122,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]