summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Michael <devilhorns@comcast.net>2021-11-06 13:16:16 -0400
committerChristopher Michael <devilhorns@comcast.net>2021-11-06 13:16:16 -0400
commitde1cd33e75655da45f6dad3c61c5e40eeb617cf7 (patch)
tree499c596e99b790b77aaed2ab54a308fd13317ff4
parentd28c105c99ddfd35f2d0c7969291e9712d7c31d5 (diff)
downloadenlightenment-de1cd33e75655da45f6dad3c61c5e40eeb617cf7.tar.gz
e_bindings: Minor formatting fixes
NB: No functional changes
-rw-r--r--src/bin/e_bindings.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/bin/e_bindings.c b/src/bin/e_bindings.c
index 76658fde39..de71ecc9be 100644
--- a/src/bin/e_bindings.c
+++ b/src/bin/e_bindings.c
@@ -1667,7 +1667,6 @@ angle_accepted(double min, double max, double direction)
return EINA_FALSE;
}
-
E_API E_Action*
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))
{
act = e_action_find(binding->action);
- if (!act) {
- ERR("Action %s cannot be found!", binding->action);
- return NULL;
- }
+ if (!act)
+ {
+ ERR("Action %s cannot be found!", binding->action);
+ return NULL;
+ }
act->func.go(obj, binding->params);
}
}
return act;
}
-
E_API Eina_Inarray*
e_bindings_swipe_find_candidates(E_Binding_Context ctxt, double direction, double length, unsigned int fingers)
{