Revert "gesture_layer: Remove unnecessary value assignment."

This reverts commit d389a44b42d482414d1bfb2f4d0ccebbda510d7b.

Tasn said this value needs to be used. Let's fix it correctly later.
Thanks Tom.
This commit is contained in:
Daniel Juyung Seo 2014-12-31 01:05:07 +09:00
parent 27a8502959
commit 8db407f89c
1 changed files with 6 additions and 6 deletions

View File

@ -1900,8 +1900,8 @@ _tap_gesture_test(Evas_Object *obj,
} }
else if (eina_list_count(pe_list) > st->n_taps_needed) else if (eina_list_count(pe_list) > st->n_taps_needed)
{ /* If we arleady got too many touches for this gesture. */ { /* If we arleady got too many touches for this gesture. */
_state_set(gesture, ELM_GESTURE_STATE_ABORT, ev_flag = _state_set(gesture, ELM_GESTURE_STATE_ABORT,
&st->info, EINA_FALSE); &st->info, EINA_FALSE);
} }
if (gesture->state == ELM_GESTURE_STATE_MOVE) if (gesture->state == ELM_GESTURE_STATE_MOVE)
@ -1925,8 +1925,8 @@ _tap_gesture_test(Evas_Object *obj,
if (move && (n > 0)) if (move && (n > 0))
{ {
_state_set(gesture, ELM_GESTURE_STATE_MOVE, ev_flag = _state_set(gesture, ELM_GESTURE_STATE_MOVE,
&st->info, EINA_TRUE); &st->info, EINA_TRUE);
} }
} }
@ -1977,8 +1977,8 @@ _tap_gesture_test(Evas_Object *obj,
/* We don't report MOVE when (n >= st->n_taps_needed) /* We don't report MOVE when (n >= st->n_taps_needed)
because will be END or ABORT at this stage */ because will be END or ABORT at this stage */
st->info.n = eina_list_count(st->l); st->info.n = eina_list_count(st->l);
_state_set(gesture, ELM_GESTURE_STATE_MOVE, ev_flag = _state_set(gesture, ELM_GESTURE_STATE_MOVE,
&st->info, EINA_TRUE); &st->info, EINA_TRUE);
} }
} }