summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_scroller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_scroller.c')
-rw-r--r--src/lib/elementary/elm_scroller.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/lib/elementary/elm_scroller.c b/src/lib/elementary/elm_scroller.c
index 6c84fa5..630e900 100644
--- a/src/lib/elementary/elm_scroller.c
+++ b/src/lib/elementary/elm_scroller.c
@@ -487,8 +487,7 @@ static void
487_scroll_cb(Evas_Object *obj, 487_scroll_cb(Evas_Object *obj,
488 void *data EINA_UNUSED) 488 void *data EINA_UNUSED)
489{ 489{
490 efl_event_callback_legacy_call 490 evas_object_smart_callback_call(obj, "scroll", NULL);
491 (obj, EFL_UI_EVENT_SCROLL_CHANGED, NULL);
492} 491}
493 492
494static void 493static void
@@ -523,32 +522,29 @@ static void
523_scroll_anim_start_cb(Evas_Object *obj, 522_scroll_anim_start_cb(Evas_Object *obj,
524 void *data EINA_UNUSED) 523 void *data EINA_UNUSED)
525{ 524{
526 efl_event_callback_legacy_call 525 evas_object_smart_callback_call(obj, "anim,start", NULL);
527 (obj, EFL_UI_EVENT_SCROLL_ANIM_STARTED, NULL);
528} 526}
529 527
530static void 528static void
531_scroll_anim_stop_cb(Evas_Object *obj, 529_scroll_anim_stop_cb(Evas_Object *obj,
532 void *data EINA_UNUSED) 530 void *data EINA_UNUSED)
533{ 531{
534 efl_event_callback_legacy_call 532 evas_object_smart_callback_call(obj, "anim,stop", NULL);
535 (obj, EFL_UI_EVENT_SCROLL_ANIM_FINISHED, NULL);
536} 533}
537 534
538static void 535static void
539_scroll_drag_start_cb(Evas_Object *obj, 536_scroll_drag_start_cb(Evas_Object *obj,
540 void *data EINA_UNUSED) 537 void *data EINA_UNUSED)
541{ 538{
542 efl_event_callback_legacy_call 539 evas_object_smart_callback_call(obj, "drag,start", NULL);
543 (obj, EFL_UI_EVENT_SCROLL_DRAG_STARTED, NULL);
544} 540}
545 541
542
546static void 543static void
547_scroll_drag_stop_cb(Evas_Object *obj, 544_scroll_drag_stop_cb(Evas_Object *obj,
548 void *data EINA_UNUSED) 545 void *data EINA_UNUSED)
549{ 546{
550 efl_event_callback_legacy_call 547 evas_object_smart_callback_call(obj, "drag,stop", NULL);
551 (obj, EFL_UI_EVENT_SCROLL_DRAG_FINISHED, NULL);
552} 548}
553 549
554static void 550static void