e_bindings: Minor formatting fixes
NB: No functional changes
This commit is contained in:
parent
d28c105c99
commit
de1cd33e75
|
@ -1667,7 +1667,6 @@ angle_accepted(double min, double max, double direction)
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
E_API E_Action*
|
E_API E_Action*
|
||||||
e_bindings_swipe_handle(E_Binding_Context ctxt, E_Object *obj, double direction, double length, unsigned int fingers)
|
e_bindings_swipe_handle(E_Binding_Context ctxt, E_Object *obj, double direction, double length, unsigned int fingers)
|
||||||
{
|
{
|
||||||
|
@ -1683,17 +1682,17 @@ e_bindings_swipe_handle(E_Binding_Context ctxt, E_Object *obj, double direction,
|
||||||
angle_accepted(binding->direction - binding->error, binding->direction + binding->error, direction))
|
angle_accepted(binding->direction - binding->error, binding->direction + binding->error, direction))
|
||||||
{
|
{
|
||||||
act = e_action_find(binding->action);
|
act = e_action_find(binding->action);
|
||||||
if (!act) {
|
if (!act)
|
||||||
ERR("Action %s cannot be found!", binding->action);
|
{
|
||||||
return NULL;
|
ERR("Action %s cannot be found!", binding->action);
|
||||||
}
|
return NULL;
|
||||||
|
}
|
||||||
act->func.go(obj, binding->params);
|
act->func.go(obj, binding->params);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return act;
|
return act;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
E_API Eina_Inarray*
|
E_API Eina_Inarray*
|
||||||
e_bindings_swipe_find_candidates(E_Binding_Context ctxt, double direction, double length, unsigned int fingers)
|
e_bindings_swipe_find_candidates(E_Binding_Context ctxt, double direction, double length, unsigned int fingers)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue