[model] model-gtk: Update to track valac changes



commit a35d14425938941d38665038ae4ecd613f382fc5
Author: Ryan Lortie <desrt desrt ca>
Date:   Thu May 13 16:18:18 2010 +0200

    model-gtk: Update to track valac changes

 gtk/model-gtk.vala |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/model-gtk.vala b/gtk/model-gtk.vala
index 6d2bf0b..e4b0933 100644
--- a/gtk/model-gtk.vala
+++ b/gtk/model-gtk.vala
@@ -198,7 +198,7 @@ namespace ModelGtk {
 		}
 
 		internal ListTracker (TreeModel model, DictionaryTracker? parent, Model.List? source) {
-			this.length_exposed = length_exposed;
+			this.length_exposed = false;
 			this.parent = parent;
 			this.source = source;
 			this.model = model;
@@ -471,7 +471,7 @@ namespace ModelGtk {
 		}
 
 		/* workaround for poor binding of Gtk.TreePath */
-		weak int[] get_tree_path_indices (Gtk.TreePath path) {
+		unowned int[] get_tree_path_indices (Gtk.TreePath path) {
 			weak int[] indices = path.get_indices ();
 			indices.length = path.get_depth ();
 			return indices;
@@ -547,7 +547,7 @@ namespace ModelGtk {
 			return dt != null;
 		}
 
-		internal weak string[] get_keys () {
+		internal unowned string[] get_keys () {
 			return keys;
 		}
 



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