From 0e99667286cf88a71d9a908b9ce6ef220eccf95f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 12 Jul 2010 13:09:44 -0400 Subject: [PATCH] Fix the build --- gtk/gtk.symbols | 1 + gtk/gtktreemodel.c | 2 +- gtk/gtktreemodel.h | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk/gtk.symbols b/gtk/gtk.symbols index 2e3333468f..c0d186dab7 100644 --- a/gtk/gtk.symbols +++ b/gtk/gtk.symbols @@ -4671,6 +4671,7 @@ gtk_tree_path_down gtk_tree_path_free gtk_tree_path_get_depth gtk_tree_path_get_indices +gtk_tree_path_get_indices_with_depth gtk_tree_path_get_type G_GNUC_CONST gtk_tree_path_is_ancestor gtk_tree_path_is_descendant diff --git a/gtk/gtktreemodel.c b/gtk/gtktreemodel.c index d9cf4e7b42..f4c165b991 100644 --- a/gtk/gtktreemodel.c +++ b/gtk/gtktreemodel.c @@ -634,7 +634,7 @@ gtk_tree_path_get_indices (GtkTreePath *path) * * Return value: (array length=depth) (transfer none): The current indices, or %NULL. * - * Since: 3.0 + * Since: 2.22 **/ gint * gtk_tree_path_get_indices_with_depth (GtkTreePath *path, gint *depth) diff --git a/gtk/gtktreemodel.h b/gtk/gtktreemodel.h index b48e87b642..827dbe6f27 100644 --- a/gtk/gtktreemodel.h +++ b/gtk/gtktreemodel.h @@ -134,6 +134,8 @@ void gtk_tree_path_prepend_index (GtkTreePath *path, gint index_); gint gtk_tree_path_get_depth (GtkTreePath *path); gint *gtk_tree_path_get_indices (GtkTreePath *path); +gint *gtk_tree_path_get_indices_with_depth (GtkTreePath *path, + gint *depth); void gtk_tree_path_free (GtkTreePath *path); GtkTreePath *gtk_tree_path_copy (const GtkTreePath *path); GType gtk_tree_path_get_type (void) G_GNUC_CONST;