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.
This commit is contained in:
Tom Hacohen 2016-02-03 16:32:50 +00:00
parent 10de442a00
commit d01ed68825
2 changed files with 3 additions and 3 deletions

View File

@ -415,7 +415,7 @@ EAPI const char *eo_class_name_get(const Eo_Class *klass);
/** /**
* @brief Init the eo subsystem * @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() * @see eo_shutfown()
*/ */
@ -423,7 +423,7 @@ EAPI Eina_Bool eo_init(void);
/** /**
* @brief Shutdown the eo subsystem * @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() * @see eo_init()
*/ */

View File

@ -1898,7 +1898,7 @@ eo_shutdown(void)
_eo_log_dom = -1; _eo_log_dom = -1;
eina_shutdown(); eina_shutdown();
return EINA_TRUE; return EINA_FALSE;
} }
EAPI Eina_Bool EAPI Eina_Bool