efl/gesture: fix long tap timeout errors
authorMike Blumenkrantz <zmike@samsung.com>
Fri, 7 Feb 2020 16:54:40 +0000 (11:54 -0500)
committerJongmin Lee <jm105.lee@samsung.com>
Mon, 17 Feb 2020 21:36:02 +0000 (06:36 +0900)
this is the timer pointer, and we need to be able to delete the timer when
the gesture ends

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11299

src/lib/evas/gesture/efl_canvas_gesture_recognizer_long_tap.c

index 5023a58..03edf5a 100644 (file)
@@ -27,7 +27,6 @@ _long_tap_timeout_cb(void *data)
 
    /* FIXME: Needs to propagate this event back to evas! */
    pd->is_timeout = EINA_TRUE;
-   pd->timeout = NULL;
 
    efl_gesture_state_set(pd->gesture, EFL_GESTURE_STATE_UPDATED);
    efl_event_callback_call(pd->target, EFL_EVENT_GESTURE_LONG_TAP, pd->gesture);