summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_toolbar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_toolbar.c')
-rw-r--r--src/lib/elementary/elm_toolbar.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/elementary/elm_toolbar.c b/src/lib/elementary/elm_toolbar.c
index a54c77a..dd15fa9 100644
--- a/src/lib/elementary/elm_toolbar.c
+++ b/src/lib/elementary/elm_toolbar.c
@@ -2235,21 +2235,21 @@ static void
2235_scroll_cb(Evas_Object *obj, 2235_scroll_cb(Evas_Object *obj,
2236 void *data EINA_UNUSED) 2236 void *data EINA_UNUSED)
2237{ 2237{
2238 efl_event_callback_legacy_call(obj, EFL_UI_EVENT_SCROLL_CHANGED, NULL); 2238 evas_object_smart_callback_call(obj, "scroll", NULL);
2239} 2239}
2240 2240
2241static void 2241static void
2242_scroll_anim_start_cb(Evas_Object *obj, 2242_scroll_anim_start_cb(Evas_Object *obj,
2243 void *data EINA_UNUSED) 2243 void *data EINA_UNUSED)
2244{ 2244{
2245 efl_event_callback_legacy_call(obj, EFL_UI_EVENT_SCROLL_ANIM_STARTED, NULL); 2245 evas_object_smart_callback_call(obj, "anim,start", NULL);
2246} 2246}
2247 2247
2248static void 2248static void
2249_scroll_anim_stop_cb(Evas_Object *obj, 2249_scroll_anim_stop_cb(Evas_Object *obj,
2250 void *data EINA_UNUSED) 2250 void *data EINA_UNUSED)
2251{ 2251{
2252 efl_event_callback_legacy_call(obj, EFL_UI_EVENT_SCROLL_ANIM_FINISHED, NULL); 2252 evas_object_smart_callback_call(obj, "anim,stop", NULL);
2253} 2253}
2254 2254
2255static void 2255static void
@@ -2259,14 +2259,14 @@ _scroll_drag_start_cb(Evas_Object *obj,
2259 ELM_TOOLBAR_DATA_GET(obj, sd); 2259 ELM_TOOLBAR_DATA_GET(obj, sd);
2260 ELM_SAFE_FREE(sd->long_timer, ecore_timer_del); 2260 ELM_SAFE_FREE(sd->long_timer, ecore_timer_del);
2261 2261
2262 efl_event_callback_legacy_call(obj, EFL_UI_EVENT_SCROLL_DRAG_STARTED, NULL); 2262 evas_object_smart_callback_call(obj, "drag,start", NULL);
2263} 2263}
2264 2264
2265static void 2265static void
2266_scroll_drag_stop_cb(Evas_Object *obj, 2266_scroll_drag_stop_cb(Evas_Object *obj,
2267 void *data EINA_UNUSED) 2267 void *data EINA_UNUSED)
2268{ 2268{
2269 efl_event_callback_legacy_call(obj, EFL_UI_EVENT_SCROLL_DRAG_FINISHED, NULL); 2269 evas_object_smart_callback_call(obj, "drag,stop", NULL);
2270} 2270}
2271 2271
2272static void 2272static void