forked from enlightenment/efl
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:
parent
10de442a00
commit
d01ed68825
|
@ -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()
|
||||
*/
|
||||
|
|
|
@ -1898,7 +1898,7 @@ eo_shutdown(void)
|
|||
_eo_log_dom = -1;
|
||||
|
||||
eina_shutdown();
|
||||
return EINA_TRUE;
|
||||
return EINA_FALSE;
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
|
|
Loading…
Reference in New Issue