[vala] gtk+-2.0, gtk+-3.0: Fix TreeModelFilter.set_modify_func



commit 566b114b7c3b7bb6c5eff4b7676e5c79d10b3640
Author: Michal Hruby <michal mhr gmail com>
Date:   Thu Mar 10 23:19:35 2011 +0100

    gtk+-2.0, gtk+-3.0: Fix TreeModelFilter.set_modify_func
    
    Fixes bug 643852.

 vapi/gtk+-2.0.vapi                       |    2 +-
 vapi/gtk+-3.0.vapi                       |    2 +-
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    2 ++
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    2 ++
 4 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index a0116f5..842b2a2 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -4978,7 +4978,7 @@ namespace Gtk {
 		public unowned Gtk.TreePath convert_path_to_child_path (Gtk.TreePath filter_path);
 		public unowned Gtk.TreeModel get_model ();
 		public void refilter ();
-		public void set_modify_func (int n_columns, GLib.Type[] types, owned Gtk.TreeModelFilterModifyFunc func);
+		public void set_modify_func ([CCode (array_length_pos = 0.9)] GLib.Type[] types, owned Gtk.TreeModelFilterModifyFunc func);
 		public void set_visible_column (int column);
 		public void set_visible_func (owned Gtk.TreeModelFilterVisibleFunc func);
 		[NoAccessorMethod]
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index e64ad6f..34ae668 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -4824,7 +4824,7 @@ namespace Gtk {
 		[NoWrapper]
 		public virtual void modify (Gtk.TreeModel child_model, Gtk.TreeIter iter, GLib.Value value, int column);
 		public void refilter ();
-		public void set_modify_func (int n_columns, GLib.Type[] types, owned Gtk.TreeModelFilterModifyFunc func);
+		public void set_modify_func ([CCode (array_length_pos = 0.9)] GLib.Type[] types, owned Gtk.TreeModelFilterModifyFunc func);
 		public void set_visible_column (int column);
 		public void set_visible_func (owned Gtk.TreeModelFilterVisibleFunc func);
 		[NoWrapper]
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index e5a9b76..b75329b 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -666,6 +666,8 @@ GtkTreeModel::row_inserted has_emitter="1"
 GtkTreeModel::rows_reordered has_emitter="1"
 gtk_tree_model_filter_convert_child_iter_to_iter.filter_iter is_out="1"
 gtk_tree_model_filter_convert_iter_to_child_iter.child_iter is_out="1"
+gtk_tree_model_filter_set_modify_func.n_columns hidden="1"
+gtk_tree_model_filter_set_modify_func.types array_length_pos="0.9"
 gtk_tree_model_filter_set_modify_func.func transfer_ownership="1"
 gtk_tree_model_filter_set_modify_func.data hidden="1"
 gtk_tree_model_filter_set_modify_func.destroy hidden="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 0cacc3d..c771ced 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -680,6 +680,8 @@ GtkTreeModel::row_inserted has_emitter="1"
 GtkTreeModel::rows_reordered has_emitter="1"
 gtk_tree_model_filter_convert_child_iter_to_iter.filter_iter is_out="1"
 gtk_tree_model_filter_convert_iter_to_child_iter.child_iter is_out="1"
+gtk_tree_model_filter_set_modify_func.n_columns hidden="1"
+gtk_tree_model_filter_set_modify_func.types array_length_pos="0.9"
 gtk_tree_model_filter_set_modify_func.func transfer_ownership="1"
 gtk_tree_model_filter_set_modify_func.data hidden="1"
 gtk_tree_model_filter_set_modify_func.destroy hidden="1"



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