1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-13 16:07:36 +00:00

best-match: Assert CALLS_IS_BEST_MATCH in private functions

This commit is contained in:
Evangelos Ribeiro Tzaras 2022-02-17 11:06:17 +01:00
parent 51598700d7
commit 690ac121e9

View file

@ -74,6 +74,8 @@ search_view_prepare_cb (FolksSearchView *view,
static void
notify_name (CallsBestMatch *self)
{
g_assert (CALLS_IS_BEST_MATCH (self));
g_object_notify_by_pspec (G_OBJECT (self), props[PROP_NAME]);
}
@ -81,6 +83,8 @@ notify_name (CallsBestMatch *self)
static void
notify_avatar (CallsBestMatch *self)
{
g_assert (CALLS_IS_BEST_MATCH (self));
g_object_notify_by_pspec (G_OBJECT (self), props[PROP_AVATAR]);
}