elm/genlist: fix "drag" smart callback

this is only a smart callback and not an eo callback

@fix

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D10527
This commit is contained in:
Mike Blumenkrantz 2019-10-24 11:36:30 -04:00 committed by Marcel Hollerbach
parent 7f69997fd0
commit d9132697b3
1 changed files with 1 additions and 2 deletions

View File

@ -4004,8 +4004,7 @@ _item_mouse_move_cb(void *data,
sd->movements++;
}
ELM_SAFE_FREE(it->long_timer, ecore_timer_del);
efl_event_callback_legacy_call
(WIDGET(it), EFL_UI_EVENT_DRAG, eo_it);
evas_object_smart_callback_call(WIDGET(it), "drag", eo_it);
return;
}
if ((!it->down) || (sd->longpressed))