bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d9132697b3ffb8fa551c246bb6ae3191516d7a8e

commit d9132697b3ffb8fa551c246bb6ae3191516d7a8e
Author: Mike Blumenkrantz <zm...@samsung.com>
Date:   Thu Oct 24 11:36:30 2019 -0400

    elm/genlist: fix "drag" smart callback
    
    this is only a smart callback and not an eo callback
    
    @fix
    
    Reviewed-by: Cedric BAIL <cedric.b...@free.fr>
    Differential Revision: https://phab.enlightenment.org/D10527
---
 src/lib/elementary/elm_genlist.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/lib/elementary/elm_genlist.c b/src/lib/elementary/elm_genlist.c
index a9534f8843..daee243ad7 100644
--- a/src/lib/elementary/elm_genlist.c
+++ b/src/lib/elementary/elm_genlist.c
@@ -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))

-- 


Reply via email to