summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiep Ha <thiepha@gmail.com>2016-08-16 12:36:26 +0900
committerThiep Ha <thiepha@gmail.com>2016-08-16 12:36:26 +0900
commitfb1591064003951cab75665cc6e20355e3878030 (patch)
tree73c0db4d5806d0bfc306b518cf923e536a8e3a67
parentbf2755efef392d8889c446d8b03bea1f44c681fd (diff)
downloadefl-fb1591064003951cab75665cc6e20355e3878030.tar.gz
elm video: correct api
The elm_videfl_add should be elm_video_add. It was changed by commit e65aae994e72c1d3f8ac6b5360d3772f177b77ef. This commit brings it back.
-rw-r--r--src/bin/elementary/test_video.c2
-rw-r--r--src/lib/elementary/efl_ui_video.c2
-rw-r--r--src/lib/elementary/efl_ui_video_legacy.h4
-rw-r--r--src/lib/elementary/elm_removed.h2
-rw-r--r--src/tests/elementary/elm_test_video.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/elementary/test_video.c b/src/bin/elementary/test_video.c
index 60718ede79..0dfca3e7ea 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 5acfb949de..eb8814671f 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 e56e6209ab..0cc087b02b 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 31dea6600d..2d0e0c25e4 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 09944ee23c..f3b7fea2d2 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);