Revert "elm_gesture_layer: Fix potential NULL pointer dereference."

This reverts commit 824ee3c56b1a23a082b5e5d1016d8e872a51fbce.

This commit breaks many gestures that are not "pointer" based.
For example, zooming with Ctrl+Wheel. But not only.
This commit is contained in:
Tom Hacohen 2013-09-18 14:14:37 +01:00
parent aabd3e7f27
commit 3e2327f6e4
1 changed files with 2 additions and 4 deletions

View File

@ -1347,10 +1347,8 @@ _event_process(void *data,
ELM_GESTURE_LAYER_DATA_GET(data, sd);
/* Start testing candidate gesture from here */
if (!_pointer_event_make(data, event_info, event_type, &_pe))
return;
pe = &_pe;
if (_pointer_event_make(data, event_info, event_type, &_pe))
pe = &_pe;
/* Test all the gestures */
{