diff options
author | Cedric Bail <cedric@osg.samsung.com> | 2017-10-27 16:37:58 -0700 |
---|---|---|
committer | Cedric Bail <cedric@osg.samsung.com> | 2017-10-27 16:37:58 -0700 |
commit | 173de925ed9bb3c1e219cf02a69d5724947ab727 (patch) | |
tree | 3af728b727c21f167313086b6964a3e7bf21eb74 /src/lib/elementary | |
parent | a959337a2908db0e829dd2bdf8f92f1e13843ef4 (diff) |
elementary, ecore: move efl_exit helper to Ecore.
Diffstat (limited to 'src/lib/elementary')
-rw-r--r-- | src/lib/elementary/elm_general.h | 12 | ||||
-rw-r--r-- | src/lib/elementary/elm_main.c | 10 |
2 files changed, 0 insertions, 22 deletions
diff --git a/src/lib/elementary/elm_general.h b/src/lib/elementary/elm_general.h index 3367a96f3b..4e3097eac1 100644 --- a/src/lib/elementary/elm_general.h +++ b/src/lib/elementary/elm_general.h | |||
@@ -164,18 +164,6 @@ extern EAPI double _elm_startup_time; | |||
164 | return real__; \ | 164 | return real__; \ |
165 | } | 165 | } |
166 | 166 | ||
167 | /** | ||
168 | * @brief Quits the main loop once all the events currently on the queue have | ||
169 | * been processed. | ||
170 | * | ||
171 | * @param[in] exit_code Returned value by begin() | ||
172 | * | ||
173 | * @note This function can only be called from the main loop. | ||
174 | * | ||
175 | * @ingroup Efl_Loop | ||
176 | */ | ||
177 | EAPI void efl_exit(int exit_code); | ||
178 | |||
179 | #endif /* EFL_BETA_API_SUPPORT */ | 167 | #endif /* EFL_BETA_API_SUPPORT */ |
180 | 168 | ||
181 | 169 | ||
diff --git a/src/lib/elementary/elm_main.c b/src/lib/elementary/elm_main.c index ddcddd9179..faf2ecaee1 100644 --- a/src/lib/elementary/elm_main.c +++ b/src/lib/elementary/elm_main.c | |||
@@ -1355,16 +1355,6 @@ _on_terminate(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED) | |||
1355 | } | 1355 | } |
1356 | 1356 | ||
1357 | EAPI void | 1357 | EAPI void |
1358 | efl_exit(int exit_code) | ||
1359 | { | ||
1360 | Eina_Value v = EINA_VALUE_EMPTY; | ||
1361 | |||
1362 | eina_value_setup(&v, EINA_VALUE_TYPE_INT); | ||
1363 | eina_value_set(&v, &exit_code); | ||
1364 | efl_loop_quit(ecore_main_loop_get(), v); | ||
1365 | } | ||
1366 | |||
1367 | EAPI void | ||
1368 | elm_exit(void) | 1358 | elm_exit(void) |
1369 | { | 1359 | { |
1370 | efl_exit(0); | 1360 | efl_exit(0); |