summaryrefslogtreecommitdiff
path: root/src/tests/emotion
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-03-09 15:47:28 +0000
committerTom Hacohen <tom@stosb.com>2016-03-09 16:09:14 +0000
commit4f949a2757b6332306264d7f126b15ba7bfd37d4 (patch)
treeec3a3aacfe34b2b3e75f3fc4d85531f6f4957c9d /src/tests/emotion
parentdf83edaeb6b10324868f28e8f1910147ba22e5e5 (diff)
Automatic migration to the new eo_add syntax.
Diffstat (limited to 'src/tests/emotion')
-rw-r--r--src/tests/emotion/emotion_test_main-eo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/emotion/emotion_test_main-eo.c b/src/tests/emotion/emotion_test_main-eo.c
index f88e045836..0f9ea6493e 100644
--- a/src/tests/emotion/emotion_test_main-eo.c
+++ b/src/tests/emotion/emotion_test_main-eo.c
@@ -111,7 +111,7 @@ main_delete_request(Ecore_Evas *ee EINA_UNUSED)
111static void 111static void
112bg_setup(void) 112bg_setup(void)
113{ 113{
114 o_bg = eo_add(EDJE_OBJECT_CLASS, evas); 114 eo_add(&o_bg, EDJE_OBJECT_CLASS, evas);
115 efl_file_set(o_bg, theme_file, "background"); 115 efl_file_set(o_bg, theme_file, "background");
116 efl_gfx_position_set(o_bg, 0, 0); 116 efl_gfx_position_set(o_bg, 0, 0);
117 efl_gfx_size_set(o_bg, startw, starth); 117 efl_gfx_size_set(o_bg, startw, starth);
@@ -639,7 +639,7 @@ init_video_object(const char *module_filename, const char *filename)
639 fd = calloc(1, sizeof(Frame_Data)); 639 fd = calloc(1, sizeof(Frame_Data));
640 if (!fd) exit(1); 640 if (!fd) exit(1);
641 641
642 oe = eo_add(EDJE_OBJECT_CLASS, evas); 642 eo_add(&oe, EDJE_OBJECT_CLASS, evas);
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");