Merge branch 'iter-is-valid-docs' into 'master'

docs: Fix iter_is_valid() description

See merge request GNOME/gtk!3810
This commit is contained in:
Emmanuele Bassi 2021-07-31 13:07:07 +00:00
commit 95f2634ea9
2 changed files with 10 additions and 10 deletions

View File

@ -1433,14 +1433,14 @@ gtk_list_store_clear (GtkListStore *list_store)
/**
* gtk_list_store_iter_is_valid:
* @list_store: A `GtkListStore`.
* @iter: A `GtkTreeIter`
*
* > This function is slow. Only use it for debugging and/or testing
* > purposes.
* @list_store: a list store
* @iter: the iterator to check
*
* Checks if the given iter is a valid iter for this `GtkListStore`.
*
* This function is slow. Only use it for debugging and/or testing
* purposes.
*
* Returns: %TRUE if the iter is valid, %FALSE if the iter is invalid.
**/
gboolean

View File

@ -1908,14 +1908,14 @@ gtk_tree_store_iter_is_valid_helper (GtkTreeIter *iter,
/**
* gtk_tree_store_iter_is_valid:
* @tree_store: A `GtkTreeStore`.
* @iter: A `GtkTreeIter`.
*
* WARNING: This function is slow. Only use it for debugging and/or testing
* purposes.
* @tree_store: a tree store
* @iter: the iterator to check
*
* Checks if the given iter is a valid iter for this `GtkTreeStore`.
*
* This function is slow. Only use it for debugging and/or testing
* purposes.
*
* Returns: %TRUE if the iter is valid, %FALSE if the iter is invalid.
**/
gboolean