mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-11-17 07:46:03 +00:00
best-match: Assert CALLS_IS_BEST_MATCH in private functions
This commit is contained in:
parent
51598700d7
commit
690ac121e9
1 changed files with 4 additions and 0 deletions
|
@ -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]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue