]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-2.0: Fix TreeModelFilter.set_modify_func
authorMichal Hruby <michal.mhr@gmail.com>
Thu, 10 Mar 2011 22:19:35 +0000 (23:19 +0100)
committerJürg Billeter <j@bitron.ch>
Sat, 12 Mar 2011 15:08:30 +0000 (16:08 +0100)
Fixes bug 643852.

vapi/gtk+-2.0.vapi
vapi/packages/gtk+-2.0/gtk+-2.0.metadata

index 1b3e92613822b5a0e0690bdeef92bc04ed779c65..ff553da42eecd7e2da17cfa9125f2c9c3c57d12c 100644 (file)
@@ -4757,7 +4757,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]
index 215630cef7997a4ebaec3188a37a4477f7009981..9896afde0944ab830e07b848d9882e20075c2cf9 100644 (file)
@@ -658,6 +658,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"