mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-06 03:25:31 +00:00
dummy: call: Codestyle
This commit is contained in:
parent
aadf546472
commit
b3aff65822
1 changed files with 15 additions and 16 deletions
|
@ -134,25 +134,24 @@ calls_dummy_call_send_dtmf_tone (CallsCall *call,
|
|||
static gboolean
|
||||
outbound_timeout_cb (CallsDummyCall *self)
|
||||
{
|
||||
switch (self->state)
|
||||
{
|
||||
case CALLS_CALL_STATE_DIALING:
|
||||
change_state (self,
|
||||
CALLS_CALL_STATE_ALERTING);
|
||||
g_timeout_add_seconds
|
||||
(3, (GSourceFunc)outbound_timeout_cb, self);
|
||||
break;
|
||||
switch (self->state) {
|
||||
case CALLS_CALL_STATE_DIALING:
|
||||
change_state (self,
|
||||
CALLS_CALL_STATE_ALERTING);
|
||||
g_timeout_add_seconds
|
||||
(3, (GSourceFunc)outbound_timeout_cb, self);
|
||||
break;
|
||||
|
||||
case CALLS_CALL_STATE_ALERTING:
|
||||
change_state (self,
|
||||
CALLS_CALL_STATE_ACTIVE);
|
||||
break;
|
||||
case CALLS_CALL_STATE_ALERTING:
|
||||
change_state (self,
|
||||
CALLS_CALL_STATE_ACTIVE);
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
return G_SOURCE_REMOVE;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue