ecore - revert 71421 cause of posibility of abi break

thanks Vincent.



SVN revision: 71485
This commit is contained in:
ChunEon Park 2012-05-29 02:42:13 +00:00
parent 7912d00e32
commit 995e8c338f
5 changed files with 6 additions and 13 deletions

View File

@ -683,11 +683,6 @@
to keep ticking off. also happens to be an issue with
iterating the mainloop.
2012-05-25 ChunEon Park (Hermet)
* Changed ecore_x_error_get() return type to Ecore_X_Error_Code from
int
2012-05-25 Rob Bradford
* Make ecore_{software_x11, software_x11_8, software_x11_16, wayland,

View File

@ -1255,11 +1255,9 @@ EAPI void
ecore_x_io_error_handler_set(void (*func)(void *data),
const void *data);
EAPI int
ecore_x_error_request_get(void);
EAPI Ecore_X_Error_Code
ecore_x_error_code_get(void);
ecore_x_error_request_get(void);
EAPI int
ecore_x_error_code_get(void);
EAPI Ecore_X_ID
ecore_x_error_resource_id_get(void);

View File

@ -58,7 +58,7 @@ ecore_x_error_request_get(void)
*
* Return the error code from the last X error
*/
EAPI Ecore_X_Error_Code
EAPI int
ecore_x_error_code_get(void)
{
return _error_code;

View File

@ -1228,7 +1228,7 @@ static void
_ecore_x_window_manage_error(void *data __UNUSED__)
{
if ((ecore_x_error_request_get() == X_ChangeWindowAttributes) &&
(ecore_x_error_code_get() == ECORE_X_ERROR_CODE_BAD_ACCESS))
(ecore_x_error_code_get() == BadAccess))
_ecore_x_window_manage_failed = 1;
}

View File

@ -69,7 +69,7 @@ ecore_x_error_request_get(void)
*
* Return the error code from the last X error
*/
EAPI Ecore_X_Error_Code
EAPI int
ecore_x_error_code_get(void)
{
return _error_code;