From: Evan Nemerson Date: Wed, 2 Jun 2010 23:00:05 +0000 (+0200) Subject: libvaladoc: fix detection of static delegates X-Git-Tag: 0.37.1~3^2~450 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8453b72bc0e40d803508b200db2abba90c8a3d38;p=thirdparty%2Fvala.git libvaladoc: fix detection of static delegates --- diff --git a/src/libvaladoc/api/delegate.vala b/src/libvaladoc/api/delegate.vala index 442849619..4f79806da 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; } }