summaryrefslogtreecommitdiff
path: root/src/tests/emotion
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-04-21 12:04:13 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-04-26 11:36:23 +0900
commite1092b84eb9a196aa2cdc00dd49c1e8af9dd5a36 (patch)
tree0aed3afbf542deb8ce20e62088483ebeed32ed34 /src/tests/emotion
parentd962705e4109860cc4dee83cebb0e432b8e69cb7 (diff)
Edje: Adapt to Efl.Container
This basically renames swallow into content.
Diffstat (limited to 'src/tests/emotion')
-rw-r--r--src/tests/emotion/emotion_test_main-eo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/emotion/emotion_test_main-eo.c b/src/tests/emotion/emotion_test_main-eo.c
index 8a8aad5659..c1d55a571d 100644
--- a/src/tests/emotion/emotion_test_main-eo.c
+++ b/src/tests/emotion/emotion_test_main-eo.c
@@ -353,11 +353,11 @@ video_obj_frame_resize_cb(void *data, const Eo_Event *event)
353 printf("HANDLE %ix%i @ %3.3f\n", iw, ih, ratio); 353 printf("HANDLE %ix%i @ %3.3f\n", iw, ih, ratio);
354 if (ratio > 0.0) iw = (ih * ratio) + 0.5; 354 if (ratio > 0.0) iw = (ih * ratio) + 0.5;
355 evas_object_size_hint_min_set(event->obj, iw, ih); 355 evas_object_size_hint_min_set(event->obj, iw, ih);
356 edje_obj_part_swallow(oe, "video_swallow", event->obj); 356 edje_object_part_swallow(oe, "video_swallow", event->obj);
357 edje_obj_size_min_calc(oe, &w, &h); 357 edje_obj_size_min_calc(oe, &w, &h);
358 efl_gfx_size_set(oe, w, h); 358 efl_gfx_size_set(oe, w, h);
359 evas_obj_size_hint_min_set(event->obj, 0, 0); 359 evas_object_size_hint_min_set(event->obj, 0, 0);
360 edje_obj_part_swallow(oe, "video_swallow", event->obj); 360 edje_object_part_swallow(oe, "video_swallow", event->obj);
361 361
362 return EINA_TRUE; 362 return EINA_TRUE;
363} 363}
@@ -643,7 +643,7 @@ init_video_object(const char *module_filename, const char *filename)
643 eo_event_callback_add(oe, EVAS_OBJECT_EVENT_FREE, _oe_free_cb, fd); 643 eo_event_callback_add(oe, EVAS_OBJECT_EVENT_FREE, _oe_free_cb, fd);
644 eo_key_data_set(oe, "frame_data", fd); 644 eo_key_data_set(oe, "frame_data", fd);
645 efl_file_set(oe, theme_file, reflex ? "video_controller/reflex" : "video_controller"); 645 efl_file_set(oe, theme_file, reflex ? "video_controller/reflex" : "video_controller");
646 edje_obj_part_swallow(oe, "video_swallow", o); 646 edje_object_part_swallow(oe, "video_swallow", o);
647 647
648 offset = 20 * (eina_list_count(video_objs) - 1); 648 offset = 20 * (eina_list_count(video_objs) - 1);
649 efl_gfx_position_set(oe, offset, offset); 649 efl_gfx_position_set(oe, offset, offset);