ev = event;
type = _conf_client_type_get(ev->ec);
-
if (type >= CONFORMANT_TYPE_MAX)
return ECORE_CALLBACK_PASS_ON;
conf = data;
type = _conf_client_type_get(ev->ec);
- EINA_SAFETY_ON_TRUE_RETURN_VAL(type >= CONFORMANT_TYPE_MAX, ECORE_CALLBACK_PASS_ON);
+ if (type >= CONFORMANT_TYPE_MAX)
+ return ECORE_CALLBACK_PASS_ON;
/* set conformant area to non-visible state before starting rotation.
* this is to prevent to apply wrong area of conformant area after rotation.
conf = data;
type = _conf_client_type_get(ev->ec);
- EINA_SAFETY_ON_TRUE_RETURN_VAL(type >= CONFORMANT_TYPE_MAX, ECORE_CALLBACK_PASS_ON);
+ if (type >= CONFORMANT_TYPE_MAX)
+ return ECORE_CALLBACK_PASS_ON;
if (conf->part[type].state.restore)
{
conf = data;
type = _conf_client_type_get(ev->ec);
- EINA_SAFETY_ON_TRUE_RETURN_VAL(type >= CONFORMANT_TYPE_MAX, ECORE_CALLBACK_PASS_ON);
+ if (type >= CONFORMANT_TYPE_MAX)
+ return ECORE_CALLBACK_PASS_ON;
conf->part[type].state.restore = EINA_FALSE;