tasn pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=d01ed68825ffb0e12ca7107cf2a903ed3e24c282
commit d01ed68825ffb0e12ca7107cf2a903ed3e24c282 Author: Tom Hacohen <t...@stosb.com> Date: Wed Feb 3 16:32:50 2016 +0000 Eo: fix eo_shutdown()'s return value to be FALSE on shutdown. The return value of init/shutdown is true if eo is init, false otherwise. This was broken until now. @fix. --- src/lib/eo/Eo.h | 4 ++-- src/lib/eo/eo.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h index 4eb13cd..d2dbfb78 100644 --- a/src/lib/eo/Eo.h +++ b/src/lib/eo/Eo.h @@ -415,7 +415,7 @@ EAPI const char *eo_class_name_get(const Eo_Class *klass); /** * @brief Init the eo subsystem - * @return @c EINA_TRUE on success. + * @return @c EINA_TRUE if eo is init, @c EINA_FALSE otherwise. * * @see eo_shutfown() */ @@ -423,7 +423,7 @@ EAPI Eina_Bool eo_init(void); /** * @brief Shutdown the eo subsystem - * @return @c EINA_TRUE on success. + * @return @c EINA_TRUE if eo is init, @c EINA_FALSE otherwise. * * @see eo_init() */ diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c index ede2863..2fd8f53 100644 --- a/src/lib/eo/eo.c +++ b/src/lib/eo/eo.c @@ -1898,7 +1898,7 @@ eo_shutdown(void) _eo_log_dom = -1; eina_shutdown(); - return EINA_TRUE; + return EINA_FALSE; } EAPI Eina_Bool --