[vala] gtk+-3.0: Fix gtk_tree_path_get_indices_with_depth binding



commit 90b45cd8859bcd144e5c0c98a5f23de128f707f1
Author: Jürg Billeter <j bitron ch>
Date:   Sun Jun 20 19:10:24 2010 +0200

    gtk+-3.0: Fix gtk_tree_path_get_indices_with_depth binding

 vapi/gtk+-3.0.vapi                       |    3 +--
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    4 +++-
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index efa5e5d..71147e3 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -4298,9 +4298,8 @@ namespace Gtk {
 		[CCode (has_construct_function = false)]
 		public TreePath.from_string (string path);
 		public int get_depth ();
-		[CCode (array_length = false)]
+		[CCode (cname = "gtk_tree_path_get_indices_with_depth")]
 		public unowned int[] get_indices ();
-		public int get_indices_with_depth (int depth);
 		public bool is_ancestor (Gtk.TreePath descendant);
 		public bool is_descendant (Gtk.TreePath ancestor);
 		public void next ();
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 78ead59..b3adf5c 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -613,7 +613,9 @@ gtk_tree_model_filter_set_visible_func.data hidden="1"
 gtk_tree_model_filter_set_visible_func.destroy hidden="1"
 gtk_tree_model_sort_convert_child_iter_to_iter.sort_iter is_out="1"
 gtk_tree_model_sort_convert_iter_to_child_iter.child_iter is_out="1"
-gtk_tree_path_get_indices is_array="1" no_array_length="1"
+gtk_tree_path_get_indices hidden="1"
+gtk_tree_path_get_indices_with_depth is_array="1" name="get_indices"
+gtk_tree_path_get_indices_with_depth.depth hidden="1"
 gtk_tree_path_new_from_indices sentinel="-1"
 gtk_tree_path_copy transfer_ownership="1"
 # GtkTreePath should be an opaque value type as it is not immutable



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