[valadoc] ver/0.12.x: Fix get_method_binding_type, static
- From: Florian Brosch <flobrosch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [valadoc] ver/0.12.x: Fix get_method_binding_type, static
- Date: Fri, 12 Aug 2011 22:40:45 +0000 (UTC)
commit ad31a26a38930db286ccaa5008e0b1b7f97337c5
Author: Florian Brosch <flo brosch gmail com>
Date: Fri Aug 12 22:44:04 2011 +0200
ver/0.12.x: Fix get_method_binding_type, static
src/driver/0.12.x/treebuilder.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/driver/0.12.x/treebuilder.vala b/src/driver/0.12.x/treebuilder.vala
index fa49292..8ad2b9a 100644
--- a/src/driver/0.12.x/treebuilder.vala
+++ b/src/driver/0.12.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]