summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_map.c')
-rw-r--r--src/lib/elementary/elm_map.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/lib/elementary/elm_map.c b/src/lib/elementary/elm_map.c
index 6590616..ea509c8 100644
--- a/src/lib/elementary/elm_map.c
+++ b/src/lib/elementary/elm_map.c
@@ -1307,8 +1307,7 @@ _scr_timeout_cb(void *data)
1307 1307
1308 _smooth_update(sd); 1308 _smooth_update(sd);
1309 sd->scr_timer = NULL; 1309 sd->scr_timer = NULL;
1310 efl_event_callback_legacy_call 1310 evas_object_smart_callback_call(sd->obj, "drag,stop", NULL);
1311 (sd->obj, EFL_UI_EVENT_SCROLL_DRAG_FINISHED, NULL);
1312 1311
1313 return ECORE_CALLBACK_CANCEL; 1312 return ECORE_CALLBACK_CANCEL;
1314} 1313}
@@ -1321,12 +1320,10 @@ _scroll_cb(Evas_Object *obj,
1321 1320
1322 if (sd->scr_timer) ecore_timer_del(sd->scr_timer); 1321 if (sd->scr_timer) ecore_timer_del(sd->scr_timer);
1323 else 1322 else
1324 efl_event_callback_legacy_call 1323 evas_object_smart_callback_call(sd->obj, "drag,stop", NULL);
1325 (sd->obj, EFL_UI_EVENT_SCROLL_DRAG_STARTED, NULL);
1326 ELM_SAFE_FREE(sd->long_timer, ecore_timer_del); 1324 ELM_SAFE_FREE(sd->long_timer, ecore_timer_del);
1327 sd->scr_timer = ecore_timer_add(0.25, _scr_timeout_cb, obj); 1325 sd->scr_timer = ecore_timer_add(0.25, _scr_timeout_cb, obj);
1328 efl_event_callback_legacy_call 1326 evas_object_smart_callback_call(sd->obj, "scroll", NULL);
1329 (sd->obj, EFL_UI_EVENT_SCROLL_CHANGED, NULL);
1330} 1327}
1331 1328
1332static void 1329static void
@@ -1335,8 +1332,7 @@ _scroll_animate_start_cb(Evas_Object *obj,
1335{ 1332{
1336 ELM_MAP_DATA_GET(obj, sd); 1333 ELM_MAP_DATA_GET(obj, sd);
1337 1334
1338 efl_event_callback_legacy_call 1335 evas_object_smart_callback_call(sd->obj, "anim,start", NULL);
1339 (sd->obj, EFL_UI_EVENT_SCROLL_ANIM_STARTED, NULL);
1340} 1336}
1341 1337
1342static void 1338static void
@@ -1345,8 +1341,7 @@ _scroll_animate_stop_cb(Evas_Object *obj,
1345{ 1341{
1346 ELM_MAP_DATA_GET(obj, sd); 1342 ELM_MAP_DATA_GET(obj, sd);
1347 1343
1348 efl_event_callback_legacy_call 1344 evas_object_smart_callback_call(sd->obj, "anim,stop", NULL);
1349 (sd->obj, EFL_UI_EVENT_SCROLL_ANIM_FINISHED, NULL);
1350} 1345}
1351 1346
1352static Eina_Bool 1347static Eina_Bool