From 00cd18b514e18a2d3f8fb3ec9a98f9244208a237 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Mon, 12 Mar 2018 15:24:01 -0400 Subject: [PATCH] tests: properly destroy elm_win timers to prevent crashes Signed-off-by: Mike Blumenkrantz --- src/tests/elementary/elm_test_win.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tests/elementary/elm_test_win.c b/src/tests/elementary/elm_test_win.c index 88327d81e0..545261efc3 100644 --- a/src/tests/elementary/elm_test_win.c +++ b/src/tests/elementary/elm_test_win.c @@ -36,7 +36,7 @@ _timer_delete_request_cb(void *data) { Eo *win = (Eo*) data; _do_delete_request(win); - return ECORE_CALLBACK_PASS_ON; + return EINA_FALSE; } static Eina_Bool @@ -44,14 +44,14 @@ _timer_hide_window_cb(void *data) { Eo *win = (Eo*) data; efl_gfx_visible_set(win, EINA_FALSE); - return ECORE_CALLBACK_PASS_ON; + return EINA_FALSE; } static Eina_Bool _timer_exit_cb(void *data EINA_UNUSED) { elm_exit(); - return ECORE_CALLBACK_PASS_ON; + return EINA_FALSE; } static Eina_Bool @@ -60,7 +60,7 @@ _timer_fail_flag_cb(void *data) Eina_Bool *fail_flag = (Eina_Bool*) data; *fail_flag = EINA_TRUE; elm_exit(); - return ECORE_CALLBACK_PASS_ON; + return EINA_FALSE; } START_TEST (elm_win_legacy_type_check)