mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-07 04:15:32 +00:00
call-data: Fix assertion in notify handlers
This commit is contained in:
parent
da648829b4
commit
cfac02a00c
1 changed files with 2 additions and 2 deletions
|
@ -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]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue