mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-12 07:37:35 +00:00
best-match: g_return_if_fail if not GeeCollection
Closes #254 Closes #227
This commit is contained in:
parent
f8a57edc6d
commit
69b170ecfe
1 changed files with 2 additions and 0 deletions
|
@ -86,6 +86,8 @@ update_best_match (CallsBestMatch *self)
|
|||
FolksIndividual *best_match = NULL;
|
||||
gboolean notify_has_individual = FALSE;
|
||||
|
||||
g_return_if_fail (GEE_IS_COLLECTION (individuals));
|
||||
|
||||
if (!gee_collection_get_is_empty (GEE_COLLECTION (individuals)))
|
||||
best_match = gee_sorted_set_first (individuals);
|
||||
|
||||
|
|
Loading…
Reference in a new issue