mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
fix some tree model annotations
* gtk_tree_model_iter_next - 'inout' is poorly defined and causes bugs so revert back to the default 'in' annotation * gtk_tree_path_get_indices_with_depth - annotate the return as 'transfer none' to avoid double frees
This commit is contained in:
parent
15646b6e74
commit
b5f878dec8
@ -1175,7 +1175,7 @@ gtk_tree_model_get_value (GtkTreeModel *tree_model,
|
||||
/**
|
||||
* gtk_tree_model_iter_next:
|
||||
* @tree_model: A #GtkTreeModel.
|
||||
* @iter: (inout): The #GtkTreeIter.
|
||||
* @iter: The #GtkTreeIter.
|
||||
*
|
||||
* Sets @iter to point to the node following it at the current level. If there
|
||||
* is no next @iter, %FALSE is returned and @iter is set to be invalid.
|
||||
|
Loading…
Reference in New Issue
Block a user