summaryrefslogtreecommitdiff
path: root/src/tests/ecore/ecore_test_timer.c
diff options
context:
space:
mode:
authorCedric Bail <cedric@osg.samsung.com>2016-05-20 02:25:48 -0700
committerCedric Bail <cedric@osg.samsung.com>2016-05-20 02:25:48 -0700
commit4f43c2745053814f26a75b7c5530279fabc9a132 (patch)
treecbe064b75d286f986dd5f0dad0cc78d49f69d267 /src/tests/ecore/ecore_test_timer.c
parent73444173066a224f40705fcfc62bca1d960d38f2 (diff)
ecore: promise for timeout and job are clearly never optional, so return them.
Diffstat (limited to '')
-rw-r--r--src/tests/ecore/ecore_test_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/ecore/ecore_test_timer.c b/src/tests/ecore/ecore_test_timer.c
index cdb0d2567e..35e900ecda 100644
--- a/src/tests/ecore/ecore_test_timer.c
+++ b/src/tests/ecore/ecore_test_timer.c
@@ -197,7 +197,7 @@ START_TEST(ecore_test_timeout)
197 ecore_init(); 197 ecore_init();
198 198
199 start = ecore_time_get(); 199 start = ecore_time_get();
200 efl_loop_timeout(ecore_main_loop_get(), &timeout, 0.2, &start); 200 timeout = efl_loop_timeout(ecore_main_loop_get(), 0.2, &start);
201 eina_promise_then(timeout, &_ecore_promise_quit, NULL, &bob); 201 eina_promise_then(timeout, &_ecore_promise_quit, NULL, &bob);
202 202
203 ecore_main_loop_begin(); 203 ecore_main_loop_begin();