thiep pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=fb1591064003951cab75665cc6e20355e3878030
commit fb1591064003951cab75665cc6e20355e3878030 Author: Thiep Ha <thie...@gmail.com> Date: Tue Aug 16 12:36:26 2016 +0900 elm video: correct api The elm_videfl_add should be elm_video_add. It was changed by commit e65aae994e72c1d3f8ac6b5360d3772f177b77ef. This commit brings it back. --- src/bin/elementary/test_video.c | 2 +- src/lib/elementary/efl_ui_video.c | 2 +- src/lib/elementary/efl_ui_video_legacy.h | 4 ++-- src/lib/elementary/elm_removed.h | 2 +- src/tests/elementary/elm_test_video.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/bin/elementary/test_video.c b/src/bin/elementary/test_video.c index 60718ed..0dfca3e 100644 --- a/src/bin/elementary/test_video.c +++ b/src/bin/elementary/test_video.c @@ -30,7 +30,7 @@ test_video(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf elm_win_resize_object_add(win, bg); evas_object_show(bg); - video = elm_videfl_add(win); + video = elm_video_add(win); evas_object_size_hint_weight_set(video, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_show(video); diff --git a/src/lib/elementary/efl_ui_video.c b/src/lib/elementary/efl_ui_video.c index 5acfb94..eb88146 100644 --- a/src/lib/elementary/efl_ui_video.c +++ b/src/lib/elementary/efl_ui_video.c @@ -272,7 +272,7 @@ _efl_ui_video_efl_canvas_group_group_del(Eo *obj, Efl_Ui_Video_Data *sd) } EAPI Evas_Object * -elm_videfl_add(Evas_Object *parent) +elm_video_add(Evas_Object *parent) { EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL); Evas_Object *obj = efl_add(MY_CLASS, parent); diff --git a/src/lib/elementary/efl_ui_video_legacy.h b/src/lib/elementary/efl_ui_video_legacy.h index e56e620..0cc087b 100644 --- a/src/lib/elementary/efl_ui_video_legacy.h +++ b/src/lib/elementary/efl_ui_video_legacy.h @@ -24,7 +24,7 @@ EAPI Evas_Object *elm_player_add(Evas_Object *parent); * * @ingroup Elm_Video */ -EAPI Evas_Object *elm_videfl_add(Evas_Object *parent); +EAPI Evas_Object *elm_video_add(Evas_Object *parent); /** * @@ -35,7 +35,7 @@ EAPI Evas_Object *elm_videfl_add(Evas_Object *parent); * This function will explicitly define a file or URI as a source * for the video of the Elm_Video object. * - * @see elm_videfl_add() + * @see elm_video_add() * @see elm_player_add() * * @ingroup Elm_Video diff --git a/src/lib/elementary/elm_removed.h b/src/lib/elementary/elm_removed.h index 31dea66..2d0e0c2 100644 --- a/src/lib/elementary/elm_removed.h +++ b/src/lib/elementary/elm_removed.h @@ -3576,7 +3576,7 @@ EINA_DEPRECATED EAPI Eina_Bool elm_toolbar_item_cursor_engine * the player itself. * * @see elm_player_add() - * @see elm_videfl_add() + * @see elm_video_add() * @deprecated use elm_object_part_content_set() instead * */ diff --git a/src/tests/elementary/elm_test_video.c b/src/tests/elementary/elm_test_video.c index 09944ee..f3b7fea 100644 --- a/src/tests/elementary/elm_test_video.c +++ b/src/tests/elementary/elm_test_video.c @@ -15,7 +15,7 @@ START_TEST (elm_atspi_role_get) elm_init(1, NULL); win = elm_win_add(NULL, "video", ELM_WIN_BASIC); - video = elm_videfl_add(win); + video = elm_video_add(win); role = elm_interface_atspi_accessible_role_get(video); ck_assert(role == ELM_ATSPI_ROLE_ANIMATION); --