summaryrefslogtreecommitdiff
path: root/src/bin/efl_wl/efl_wl_test_stack.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2020-03-12 12:15:27 -0400
committerMike Blumenkrantz <zmike@samsung.com>2020-03-12 12:17:07 -0400
commite6573154dcb291dc38099fba1055293b1e7b85d7 (patch)
treec690ee18cf8dc9f578f4345b0877be3b5e671f04 /src/bin/efl_wl/efl_wl_test_stack.c
parent798fdfbc70a8160d7ec89a5829c01a0fccb40dd9 (diff)
efl-wl: start conversion to eo
Summary: this converts the main efl-wl object to an eo-based canvas group object Depends on D11465 Reviewers: segfaultxavi, bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11454
Diffstat (limited to 'src/bin/efl_wl/efl_wl_test_stack.c')
-rw-r--r--src/bin/efl_wl/efl_wl_test_stack.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/efl_wl/efl_wl_test_stack.c b/src/bin/efl_wl/efl_wl_test_stack.c
index 51cd598984..e6eaa34760 100644
--- a/src/bin/efl_wl/efl_wl_test_stack.c
+++ b/src/bin/efl_wl/efl_wl_test_stack.c
@@ -26,13 +26,13 @@ dostuff(void *data)
26static void 26static void
27prev_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) 27prev_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
28{ 28{
29 efl_wl_prev(data); 29 efl_wl_surface_prev(data);
30} 30}
31 31
32static void 32static void
33next_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) 33next_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
34{ 34{
35 efl_wl_next(data); 35 efl_wl_surface_next(data);
36} 36}
37 37
38int 38int
@@ -69,7 +69,7 @@ main(int argc, char *argv[])
69 evas_object_show(next); 69 evas_object_show(next);
70 elm_table_pack(o, next, 1, 0, 1, 1); 70 elm_table_pack(o, next, 1, 0, 1, 1);
71 71
72 comp = efl_wl_add(evas_object_evas_get(win)); 72 comp = efl_add(EFL_WL_CLASS, win);
73 evas_object_size_hint_min_set(comp, 640, 480); 73 evas_object_size_hint_min_set(comp, 640, 480);
74 elm_table_pack(o, comp, 0, 1, 2, 1); 74 elm_table_pack(o, comp, 0, 1, 2, 1);
75 evas_object_size_hint_align_set(comp, EVAS_HINT_FILL, EVAS_HINT_FILL); 75 evas_object_size_hint_align_set(comp, EVAS_HINT_FILL, EVAS_HINT_FILL);