diff options
author | Simon Feltman <sfeltman@src.gnome.org> | 2013-08-16 03:59:30 -0700 |
---|---|---|
committer | Simon Feltman <sfeltman@src.gnome.org> | 2014-01-05 11:23:41 -0800 |
commit | efa8956718386b29ecd37aa11e1a827656b66616 (patch) | |
tree | 343e9b2987c12bd9171c75cd7e11bc1443723ef7 /gtk/gtktreemodel.h | |
parent | 935dc1d273d01bcc95354083d951767d828206fb (diff) | |
download | gtk+-efa8956718386b29ecd37aa11e1a827656b66616.tar.gz |
Add introspection friendly version of gtk_tree_path_new_from_indices
Add gtk_tree_path_new_from_indicesv which takes an array of
integers with a length. Use "Rename to" annotation to rename the
method as gtk_tree_path_new_from_indices. This is needed because
the original method takes variadic arguments which is not supported
by introspection.
https://bugzilla.gnome.org/show_bug.cgi?id=706119
Diffstat (limited to 'gtk/gtktreemodel.h')
-rw-r--r-- | gtk/gtktreemodel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtktreemodel.h b/gtk/gtktreemodel.h index e1ebde52b8..a1cccc2c8a 100644 --- a/gtk/gtktreemodel.h +++ b/gtk/gtktreemodel.h @@ -167,6 +167,9 @@ GtkTreePath *gtk_tree_path_new_from_string (const gchar *path); GDK_AVAILABLE_IN_ALL GtkTreePath *gtk_tree_path_new_from_indices (gint first_index, ...); +GDK_AVAILABLE_IN_3_12 +GtkTreePath *gtk_tree_path_new_from_indicesv (gint *indices, + gsize length); GDK_AVAILABLE_IN_ALL gchar *gtk_tree_path_to_string (GtkTreePath *path); GDK_AVAILABLE_IN_ALL |