forked from enlightenment/efl
ecore/ecore_x - Changed ecore_x_error_get() return type to Ecore_X_Error_Code from int
SVN revision: 71421
This commit is contained in:
parent
3280ada8e9
commit
1bb2daff42
|
@ -683,3 +683,7 @@
|
|||
to keep ticking off. also happens to be an issuw with
|
||||
iterating the mainloop.
|
||||
|
||||
2012-05-25 ChunEon Park (Hermet)
|
||||
|
||||
* Changed ecore_x_error_get() return type to Ecore_X_Error_Code from
|
||||
int
|
||||
|
|
|
@ -1255,9 +1255,11 @@ EAPI void
|
|||
ecore_x_io_error_handler_set(void (*func)(void *data),
|
||||
const void *data);
|
||||
EAPI int
|
||||
ecore_x_error_request_get(void);
|
||||
EAPI int
|
||||
ecore_x_error_code_get(void);
|
||||
ecore_x_error_request_get(void);
|
||||
|
||||
EAPI Ecore_X_Error_Code
|
||||
ecore_x_error_code_get(void);
|
||||
|
||||
EAPI Ecore_X_ID
|
||||
ecore_x_error_resource_id_get(void);
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ ecore_x_error_request_get(void)
|
|||
*
|
||||
* Return the error code from the last X error
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Ecore_X_Error_Code
|
||||
ecore_x_error_code_get(void)
|
||||
{
|
||||
return _error_code;
|
||||
|
|
|
@ -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() == BadAccess))
|
||||
(ecore_x_error_code_get() == ECORE_X_ERROR_CODE_BAD_ACCESS))
|
||||
_ecore_x_window_manage_failed = 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ ecore_x_error_request_get(void)
|
|||
*
|
||||
* Return the error code from the last X error
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Ecore_X_Error_Code
|
||||
ecore_x_error_code_get(void)
|
||||
{
|
||||
return _error_code;
|
||||
|
|
Loading…
Reference in New Issue