[valadoc] driver/0.13.x: Fix get_method_binding_type, static



commit 5b723ca2428306d3001d2cb70c5cd81e70efa3dc
Author: Florian Brosch <flo brosch gmail com>
Date:   Fri Aug 12 17:41:50 2011 +0200

    driver/0.13.x: Fix get_method_binding_type, static

 src/driver/0.13.x/treebuilder.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/driver/0.13.x/treebuilder.vala b/src/driver/0.13.x/treebuilder.vala
index 5aa069e..ba4ca7c 100644
--- a/src/driver/0.13.x/treebuilder.vala
+++ b/src/driver/0.13.x/treebuilder.vala
@@ -445,7 +445,7 @@ public class Valadoc.Drivers.TreeBuilder : Vala.CodeVisitor {
 			return MethodBindingType.OVERRIDE;
 		} else if (element.is_inline) {
 			return MethodBindingType.INLINE;
-		} else if (element.binding == Vala.MemberBinding.INSTANCE) {
+		} else if (element.binding != Vala.MemberBinding.INSTANCE) {
 			return MethodBindingType.STATIC;
 		}
 		return MethodBindingType.UNMODIFIED;



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