[valadoc] libvaladoc/api: Fix memory cycle: method.base_method <> method
- From: Florian Brosch <flobrosch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [valadoc] libvaladoc/api: Fix memory cycle: method.base_method <> method
- Date: Tue, 7 Aug 2012 12:22:43 +0000 (UTC)
commit 11f0cd175291d51e23b5074fa3964530f16e72c2
Author: Florian Brosch <flo brosch gmail com>
Date: Tue Aug 7 02:19:11 2012 +0200
libvaladoc/api: Fix memory cycle: method.base_method <> method
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 e776c7d..0a142e3 100644
--- a/src/libvaladoc/api/method.vala
+++ b/src/libvaladoc/api/method.vala
@@ -77,7 +77,7 @@ public class Valadoc.Api.Method : Member {
/**
* Specifies the virtual or abstract method this method overrides.
*/
- public Method? base_method {
+ public weak Method? base_method {
set;
get;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]