summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-09-24 09:39:21 -0400
committerCedric Bail <cedric.bail@free.fr>2019-09-24 15:23:09 -0700
commit5c2ea620a18cea0d02fe5ae3315913448828e77e (patch)
tree65600a34470590b571cd513f02f11d709dfdf79a /src/bin
parentc99f7d06cb60a5fe2e3f14f541119ff5f1e3dc19 (diff)
efl/player: prune properties duplicated in efl.playable
efl.playable implements a number of properties which are also present in efl.player. playable was intended to be separate, so enforce this split in all classes which use player ref T7877 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10109
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/elementary/test_evas_snapshot.c2
-rw-r--r--src/bin/elementary/test_gfx_filters.c2
-rw-r--r--src/bin/elementary/test_photocam.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/elementary/test_evas_snapshot.c b/src/bin/elementary/test_evas_snapshot.c
index ea79aa8..ecfee19 100644
--- a/src/bin/elementary/test_evas_snapshot.c
+++ b/src/bin/elementary/test_evas_snapshot.c
@@ -46,7 +46,7 @@ _anim_toggle(void *data, const Efl_Event *ev EINA_UNUSED)
46 it = efl_content_iterate(table); 46 it = efl_content_iterate(table);
47 EINA_ITERATOR_FOREACH(it, o) 47 EINA_ITERATOR_FOREACH(it, o)
48 { 48 {
49 if (efl_isa(o, EFL_PLAYER_INTERFACE) && efl_player_playable_get(o)) 49 if (efl_isa(o, EFL_PLAYER_INTERFACE) && efl_playable_get(o))
50 efl_player_play_set(o, !efl_player_play_get(o)); 50 efl_player_play_set(o, !efl_player_play_get(o));
51 } 51 }
52 eina_iterator_free(it); 52 eina_iterator_free(it);
diff --git a/src/bin/elementary/test_gfx_filters.c b/src/bin/elementary/test_gfx_filters.c
index 4fdee9d..e7410c8 100644
--- a/src/bin/elementary/test_gfx_filters.c
+++ b/src/bin/elementary/test_gfx_filters.c
@@ -407,7 +407,7 @@ test_gfx_filters(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
407 efl_file_set(efl_added, buf), 407 efl_file_set(efl_added, buf),
408 efl_name_set(efl_added, images[k].src_name), 408 efl_name_set(efl_added, images[k].src_name),
409 elm_object_tooltip_text_set(efl_added, images[k].src_name)); 409 elm_object_tooltip_text_set(efl_added, images[k].src_name));
410 if (efl_player_playable_get(o)) 410 if (efl_playable_get(o))
411 efl_player_play_set(o, 1); 411 efl_player_play_set(o, 1);
412 efl_event_callback_add(o, EFL_INPUT_EVENT_CLICKED, _img_click, win); 412 efl_event_callback_add(o, EFL_INPUT_EVENT_CLICKED, _img_click, win);
413 efl_pack(box2, o); 413 efl_pack(box2, o);
diff --git a/src/bin/elementary/test_photocam.c b/src/bin/elementary/test_photocam.c
index 6f50740..70d6da2 100644
--- a/src/bin/elementary/test_photocam.c
+++ b/src/bin/elementary/test_photocam.c
@@ -152,7 +152,7 @@ my_bt_open(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
152 } 152 }
153 153
154 if (file && eina_str_has_extension(file, ".gif") 154 if (file && eina_str_has_extension(file, ".gif")
155 && efl_player_playable_get(ph)) 155 && efl_playable_get(ph))
156 efl_player_play_set(ph, EINA_TRUE); 156 efl_player_play_set(ph, EINA_TRUE);
157} 157}
158 158
@@ -829,7 +829,7 @@ test_image_zoomable_animated(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSE
829 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED, _zoomable_clicked_cb, NULL) 829 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED, _zoomable_clicked_cb, NULL)
830 ); 830 );
831 831
832 if (efl_player_playable_get(zoomable)) 832 if (efl_playable_get(zoomable))
833 { 833 {
834 printf("animation is available for this image.\n"); 834 printf("animation is available for this image.\n");
835 efl_player_play_set(zoomable, EINA_TRUE); 835 efl_player_play_set(zoomable, EINA_TRUE);