[valadoc] libvaladoc: fix detection of static delegates



commit 8453b72bc0e40d803508b200db2abba90c8a3d38
Author: Evan Nemerson <evan coeus-group com>
Date:   Thu Jun 3 01:00:05 2010 +0200

    libvaladoc: fix detection of static delegates

 src/libvaladoc/api/delegate.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libvaladoc/api/delegate.vala b/src/libvaladoc/api/delegate.vala
index 4428496..4f79806 100644
--- a/src/libvaladoc/api/delegate.vala
+++ b/src/libvaladoc/api/delegate.vala
@@ -43,7 +43,7 @@ public class Valadoc.Api.Delegate : TypeSymbol {
 
 	public bool is_static {
 		get {
-			return ((Vala.Delegate) symbol).has_target;
+			return !((Vala.Delegate) symbol).has_target;
 		}
 	}
 



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