]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libvaladoc: fix detection of static delegates
authorEvan Nemerson <evan@coeus-group.com>
Wed, 2 Jun 2010 23:00:05 +0000 (01:00 +0200)
committerFlorian Brosch <flo.brosch@gmail.com>
Wed, 2 Jun 2010 23:00:05 +0000 (01:00 +0200)
src/libvaladoc/api/delegate.vala

index 442849619a96d791491c6196e9eef1ba38cc1a47..4f79806da48557cb7726e24edf27c317ba33cd5f 100644 (file)
@@ -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;
                }
        }