mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-11-17 07:46:03 +00:00
sip: origin: Notify on state change
The account state has G_EXPLICIT_NOTIFY but we did never notified.
This commit is contained in:
parent
59c06aef44
commit
0605582fc7
1 changed files with 2 additions and 0 deletions
|
@ -151,6 +151,8 @@ change_state (CallsSipOrigin *self,
|
|||
old_state = self->state;
|
||||
self->state = new_state;
|
||||
|
||||
g_object_notify_by_pspec (G_OBJECT (self), props[PROP_ACC_STATE]);
|
||||
|
||||
g_signal_emit_by_name (self, "account-state-changed", old_state, new_state, reason);
|
||||
calls_account_emit_message_for_state_change (CALLS_ACCOUNT (self), new_state, reason);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue