[vala] gtk+-2.0: Tree move_after.iter and move_before.iter are ref parameters.



commit fcacd2f735e236363faaf74d8d2e944f56f620f1
Author: Luca Bruno <lethalman88 gmail com>
Date:   Sun May 30 10:10:20 2010 -0700

    gtk+-2.0: Tree move_after.iter and move_before.iter are ref parameters.
    
    Fixes bug 619357.

 vapi/gtk+-2.0.vapi                       |    8 ++++----
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    4 ++++
 2 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 5557352..5f86bf2 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -2286,8 +2286,8 @@ namespace Gtk {
 		public void insert_with_values (out Gtk.TreeIter iter, int position, ...);
 		public void insert_with_valuesv (out Gtk.TreeIter iter, int position, int columns, GLib.Value[] values);
 		public bool iter_is_valid (Gtk.TreeIter iter);
-		public void move_after (Gtk.TreeIter iter, Gtk.TreeIter? position);
-		public void move_before (Gtk.TreeIter iter, Gtk.TreeIter? position);
+		public void move_after (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
+		public void move_before (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
 		[CCode (cname = "gtk_list_store_newv", has_construct_function = false)]
 		public ListStore.newv ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
 		public void prepend (out Gtk.TreeIter iter);
@@ -4835,8 +4835,8 @@ namespace Gtk {
 		public bool is_ancestor (Gtk.TreeIter iter, Gtk.TreeIter descendant);
 		public int iter_depth (Gtk.TreeIter iter);
 		public bool iter_is_valid (Gtk.TreeIter iter);
-		public void move_after (Gtk.TreeIter iter, Gtk.TreeIter? position);
-		public void move_before (Gtk.TreeIter iter, Gtk.TreeIter? position);
+		public void move_after (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
+		public void move_before (ref Gtk.TreeIter iter, Gtk.TreeIter? position);
 		[CCode (cname = "gtk_tree_store_newv", has_construct_function = false)]
 		public TreeStore.newv ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
 		public void prepend (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 02b1f79..378859f 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -262,7 +262,9 @@ gtk_list_store_insert_before.sibling nullable="1"
 gtk_list_store_insert_with_values ellipsis="1" sentinel="-1"
 gtk_list_store_insert_with_values.iter is_out="1"
 gtk_list_store_insert_with_valuesv.iter is_out="1"
+gtk_list_store_move_after.iter is_ref="1"
 gtk_list_store_move_after.position nullable="1"
+gtk_list_store_move_before.iter is_ref="1"
 gtk_list_store_move_before.position nullable="1"
 gtk_list_store_prepend.iter is_out="1"
 gtk_list_store_set_column_types.n_columns hidden="1"
@@ -640,7 +642,9 @@ gtk_tree_store_insert_with_values.iter is_out="1"
 gtk_tree_store_insert_with_values.parent nullable="1"
 gtk_tree_store_insert_with_valuesv.iter is_out="1"
 gtk_tree_store_insert_with_valuesv.parent nullable="1"
+gtk_tree_store_move_after.iter is_ref="1"
 gtk_tree_store_move_after.position nullable="1"
+gtk_tree_store_move_before.iter is_ref="1"
 gtk_tree_store_move_before.position nullable="1"
 gtk_tree_store_prepend.iter is_out="1"
 gtk_tree_store_prepend.parent nullable="1"



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