[valadoc] version/0.11.x: Fix get_method_binding_type, static



commit f43ef1b9e9b26672926e7fb9dfd46536404c0ebc
Author: Florian Brosch <flo brosch gmail com>
Date:   Fri Aug 12 23:28:01 2011 +0200

    version/0.11.x: Fix get_method_binding_type, static

 src/driver/0.11.x/treebuilder.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/driver/0.11.x/treebuilder.vala b/src/driver/0.11.x/treebuilder.vala
index fa49292..8ad2b9a 100644
--- a/src/driver/0.11.x/treebuilder.vala
+++ b/src/driver/0.11.x/treebuilder.vala
@@ -275,7 +275,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]