dummy: call: Codestyle
This commit is contained in:
@@ -134,25 +134,24 @@ calls_dummy_call_send_dtmf_tone (CallsCall *call,
|
|||||||
static gboolean
|
static gboolean
|
||||||
outbound_timeout_cb (CallsDummyCall *self)
|
outbound_timeout_cb (CallsDummyCall *self)
|
||||||
{
|
{
|
||||||
switch (self->state)
|
switch (self->state) {
|
||||||
{
|
case CALLS_CALL_STATE_DIALING:
|
||||||
case CALLS_CALL_STATE_DIALING:
|
change_state (self,
|
||||||
change_state (self,
|
CALLS_CALL_STATE_ALERTING);
|
||||||
CALLS_CALL_STATE_ALERTING);
|
g_timeout_add_seconds
|
||||||
g_timeout_add_seconds
|
(3, (GSourceFunc)outbound_timeout_cb, self);
|
||||||
(3, (GSourceFunc)outbound_timeout_cb, self);
|
break;
|
||||||
break;
|
|
||||||
|
|
||||||
case CALLS_CALL_STATE_ALERTING:
|
case CALLS_CALL_STATE_ALERTING:
|
||||||
change_state (self,
|
change_state (self,
|
||||||
CALLS_CALL_STATE_ACTIVE);
|
CALLS_CALL_STATE_ACTIVE);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return FALSE;
|
return G_SOURCE_REMOVE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user