[vala/0.10-parallel: 43/46] UnresolvedType: Override is_disposable method



commit bcc2438744fb646434320d7c806ff143b356f8b4
Author: Jürg Billeter <j bitron ch>
Date:   Fri Sep 10 09:48:45 2010 +0200

    UnresolvedType: Override is_disposable method

 vala/valaunresolvedtype.vala |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/vala/valaunresolvedtype.vala b/vala/valaunresolvedtype.vala
index 201fd61..527fa0a 100644
--- a/vala/valaunresolvedtype.vala
+++ b/vala/valaunresolvedtype.vala
@@ -112,4 +112,8 @@ public class Vala.UnresolvedType : DataType {
 
 		return s;
 	}
+
+	public override bool is_disposable () {
+		return value_owned;
+	}
 }



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