[valadoc] libvaladoc/api: Class: Hide "static" modifier for functions
- From: Florian Brosch <flobrosch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [valadoc] libvaladoc/api: Class: Hide "static" modifier for functions
- Date: Fri, 12 Aug 2011 22:40:30 +0000 (UTC)
commit 2897d9e2870e060e2a28f6926e8bdc7e5dbd0f60
Author: Florian Brosch <flo brosch gmail com>
Date: Fri Aug 12 19:23:24 2011 +0200
libvaladoc/api: Class: Hide "static" modifier for functions
src/libvaladoc/api/method.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libvaladoc/api/method.vala b/src/libvaladoc/api/method.vala
index c71360c..7f0c886 100755
--- a/src/libvaladoc/api/method.vala
+++ b/src/libvaladoc/api/method.vala
@@ -132,7 +132,7 @@ public class Valadoc.Api.Method : Member {
*/
public bool is_static {
get {
- return !is_constructor && binding_type == MethodBindingType.STATIC;
+ return !is_constructor && binding_type == MethodBindingType.STATIC && parent is Namespace == false;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]