util: Rename function to calls_find_in_model() and adjust documentation

Since it works for GListModel rename it appropriately.

It used to provide an inline implementation for g_list_store_find()
behind a glib version guard, but we bumped minimum version in
cfd3c2a7fe
so the docstring was updated and made more succinct.
This commit is contained in:
Evangelos Ribeiro Tzaras
2022-10-10 08:39:42 +02:00
parent 0bcf3fa08e
commit 29a2059e0e
4 changed files with 6 additions and 7 deletions

View File

@@ -119,7 +119,7 @@ gboolean calls_date_time_is_same_year (GDateTime *a,
GDateTime *b);
gboolean calls_number_is_ussd (const char *number);
gboolean calls_find_in_store (GListModel *list,
gboolean calls_find_in_model (GListModel *list,
gpointer item,
guint *position);