summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_map.c
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-05-20 18:56:49 +0900
committerHermet Park <hermetpark@gmail.com>2019-05-20 18:56:49 +0900
commit463e3a73fd924fe23d1f4154b15e4736026be649 (patch)
tree20b0d6aef8ca32e91806b3d2e60fc66a1f87e631 /src/lib/elementary/elm_map.c
parent0d063171c6fb689bd363da94b5dcb2a4fce4a181 (diff)
parent1692ff3890875be579dbf953bd0ec2146497eba9 (diff)
Merge branch 'master' into devs/hermet/lottie
Diffstat (limited to 'src/lib/elementary/elm_map.c')
-rw-r--r--src/lib/elementary/elm_map.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/lib/elementary/elm_map.c b/src/lib/elementary/elm_map.c
index 71deea0..c026afa 100644
--- a/src/lib/elementary/elm_map.c
+++ b/src/lib/elementary/elm_map.c
@@ -1356,8 +1356,8 @@ _long_press_cb(void *data)
1356 ELM_MAP_DATA_GET(data, sd); 1356 ELM_MAP_DATA_GET(data, sd);
1357 1357
1358 sd->long_timer = NULL; 1358 sd->long_timer = NULL;
1359 efl_event_callback_legacy_call 1359
1360 (sd->obj, EFL_UI_EVENT_LONGPRESSED, &sd->ev); 1360 evas_object_smart_callback_call(sd->obj, "longpressed", &sd->ev);
1361 1361
1362 return ECORE_CALLBACK_CANCEL; 1362 return ECORE_CALLBACK_CANCEL;
1363} 1363}
@@ -1376,8 +1376,8 @@ _mouse_down_cb(void *data,
1376 else sd->on_hold = EINA_FALSE; 1376 else sd->on_hold = EINA_FALSE;
1377 1377
1378 if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK) 1378 if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK)
1379 efl_event_callback_legacy_call 1379 evas_object_smart_callback_call
1380 (sd->obj, EFL_UI_EVENT_CLICKED_DOUBLE, ev); 1380 (sd->obj, "clicked,double", ev);
1381 else 1381 else
1382 efl_event_callback_legacy_call 1382 efl_event_callback_legacy_call
1383 (sd->obj, ELM_MAP_EVENT_PRESS, ev); 1383 (sd->obj, ELM_MAP_EVENT_PRESS, ev);
@@ -1407,8 +1407,9 @@ _mouse_up_cb(void *data,
1407 ELM_SAFE_FREE(sd->long_timer, ecore_timer_del); 1407 ELM_SAFE_FREE(sd->long_timer, ecore_timer_del);
1408 1408
1409 if (!sd->on_hold) 1409 if (!sd->on_hold)
1410 efl_event_callback_legacy_call 1410
1411 (sd->obj, EFL_UI_EVENT_CLICKED, ev); 1411 evas_object_smart_callback_call
1412 (sd->obj, "clicked", ev);
1412 sd->on_hold = EINA_FALSE; 1413 sd->on_hold = EINA_FALSE;
1413} 1414}
1414 1415