1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-06-30 15:49:31 +00:00

call-data: Fix assertion in notify handlers

This commit is contained in:
Evangelos Ribeiro Tzaras 2021-11-18 10:57:08 +01:00
parent da648829b4
commit cfac02a00c

View file

@ -202,7 +202,7 @@ calls_ui_call_data_cui_call_interface_init (CuiCallInterface *iface)
static void
on_notify_state (CallsUiCallData *self)
{
g_assert (CALLS_UI_CALL_DATA (self));
g_assert (CALLS_IS_UI_CALL_DATA (self));
g_object_notify_by_pspec (G_OBJECT (self), props[PROP_STATE]);
}
@ -211,7 +211,7 @@ on_notify_state (CallsUiCallData *self)
static void
on_notify_name (CallsUiCallData *self)
{
g_assert (CALLS_UI_CALL_DATA (self));
g_assert (CALLS_IS_UI_CALL_DATA (self));
g_object_notify_by_pspec (G_OBJECT (self), props[PROP_DISPLAY_NAME]);
}