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

@@ -518,7 +518,7 @@ origin_found_in_any_provider (CallsManager *self,
CallsProvider *provider = CALLS_PROVIDER (value);
GListModel *origins = calls_provider_get_origins (provider);
if (origins && calls_find_in_store (origins,
if (origins && calls_find_in_model (origins,
origin,
&position))
return TRUE;