summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorCedric Bail <cedric@osg.samsung.com>2017-10-27 15:37:25 -0700
committerCedric Bail <cedric@osg.samsung.com>2017-10-27 15:37:25 -0700
commit4054c35f0674d0c851ddc84f8a0d239c27ccd095 (patch)
tree5b521c0187bbdb13c3a57b21743877bb2cfb4f89 /src/lib/elementary
parent1451a2ee3f4feb0b9fb084ab3584fa1dd19cfa13 (diff)
elementary: there is no point into having an already deprecated method with EFL new API.
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/elm_general.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/lib/elementary/elm_general.h b/src/lib/elementary/elm_general.h
index 32fee6714c..d46d094244 100644
--- a/src/lib/elementary/elm_general.h
+++ b/src/lib/elementary/elm_general.h
@@ -146,15 +146,6 @@ extern EAPI double _elm_startup_time;
146 return ret__; \ 146 return ret__; \
147 } 147 }
148 148
149#else
150/** @deprecated macro to be used after the elm_main() function.
151 * Do not define ELM_LIB_QUICKLAUNCH
152 * Compile your programs with -fpie and -pie -rdynamic instead, to generate a single binary (linkable executable).
153 */
154#define EFL_MAIN() int main(int argc, char **argv) { int ret__; _EFL_APP_VERSION_SET(); _elm_startup_time = ecore_time_unix_get(); ret__ = efl_quicklaunch_fallback(argc, argv); elm_shutdown(); return ret__; (void) efl_main(NULL, NULL); return 0; }
155#define EFL_MAIN_EX() int main(int argc, char **argv) { int ret__; _EFL_APP_VERSION_SET(); _elm_startup_time = ecore_time_unix_get(); ret__ = efl_quicklaunch_fallback(argc, argv); elm_shutdown(); return ret__; (void) efl_main(NULL, NULL); (void) efl_pause(NULL, NULL); (void) efl_resume(NULL, NULL); (void) efl_terminate(NULL, NULL); return 0; }
156#endif
157
158/** 149/**
159 * @brief Quits the main loop once all the events currently on the queue have 150 * @brief Quits the main loop once all the events currently on the queue have
160 * been processed. 151 * been processed.