Add gtk_tree_model_rows_reordered_with_length introspectable method

Add introspection friendly version of gtk_tree_model_rows_reordered
with a "_with_length" suffix. This allows language bindings to
safely pass an array with length argument. Use the "Rename to:"
annotation to expose as "gtk_tree_model_rows_reordered".

https://bugzilla.gnome.org/show_bug.cgi?id=684558
This commit is contained in:
Simon Feltman
2012-09-24 16:34:56 -07:00
committed by Simon Feltman
parent e7437515cf
commit ab13787985
2 changed files with 42 additions and 0 deletions

View File

@ -361,6 +361,12 @@ void gtk_tree_model_rows_reordered (GtkTreeModel *tree_model,
GtkTreePath *path,
GtkTreeIter *iter,
gint *new_order);
GDK_AVAILABLE_IN_3_10
void gtk_tree_model_rows_reordered_with_length (GtkTreeModel *tree_model,
GtkTreePath *path,
GtkTreeIter *iter,
gint *new_order,
gint length);
G_END_DECLS