summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas/ecore_evas.c
diff options
context:
space:
mode:
authorYeongjong Lee <cleanlyj@naver.com>2018-10-26 19:25:09 +0900
committerHermet Park <hermetpark@gmail.com>2018-10-26 19:25:09 +0900
commit9de082eb83e01ab69fe69edd18d7c988533c7b08 (patch)
treef93d9054946bb1fbd9634849e6e080dd236f1c41 /src/lib/ecore_evas/ecore_evas.c
parentf802c8f482cc3f7f1d2f94f7c9377feffbe0ed3f (diff)
ecore: remove duplicated conditions
Summary: The macro already checks eina_main_loop_is() when DEBUG_THREADS is enabled. Test Plan: make Reviewers: segfaultxavi, ManMower, Hermet, bu5hm4n Reviewed By: bu5hm4n Subscribers: bu5hm4n, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7183
Diffstat (limited to 'src/lib/ecore_evas/ecore_evas.c')
-rw-r--r--src/lib/ecore_evas/ecore_evas.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index 99d1e1f2..f63463a 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -5273,8 +5273,7 @@ _ecore_evas_animator_add(void *evo, Ecore_Task_Cb func, const void *data)
5273 Ecore_Evas *ee; 5273 Ecore_Evas *ee;
5274 Ecore_Animator *animator; 5274 Ecore_Animator *animator;
5275 5275
5276 if (EINA_UNLIKELY(!eina_main_loop_is())) 5276 EINA_MAIN_LOOP_CHECK_RETURN_VAL(NULL);
5277 EINA_MAIN_LOOP_CHECK_RETURN_VAL(NULL);
5278 5277
5279 if (!func) 5278 if (!func)
5280 { 5279 {