diff --git a/src/calls-ui-call-data.c b/src/calls-ui-call-data.c index 0752bb7..490f0a1 100644 --- a/src/calls-ui-call-data.c +++ b/src/calls-ui-call-data.c @@ -402,7 +402,7 @@ on_delay_set_active (CallsUiCallData *self) } -#define DELAY_UI_MS 15 +#define DELAY_UI_MS 100 static void calls_ui_call_data_constructed (GObject *object) { diff --git a/tests/test-ringer.c b/tests/test-ringer.c index 3316513..19daf80 100644 --- a/tests/test-ringer.c +++ b/tests/test-ringer.c @@ -359,7 +359,7 @@ test_ringing_hang_up_call_ringer_cancelled (void **state) /** this timeout needs to be longer than the delay for activating the UI/ringer, * see DELAY_UI_MS in calls-ui-call-data.c */ - g_timeout_add (20, G_SOURCE_FUNC (t3_on_ringer_timeout), data); + g_timeout_add (105, G_SOURCE_FUNC (t3_on_ringer_timeout), data); /* main loop will quit in t3_on_ringer_timeout() */ g_main_loop_run (data->loop);