aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/elementary/test_evas_mask.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-07-06 17:22:41 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-08-04 10:24:03 +0900
commit83a4c3e3e2c1503f32aff81b46cc9c486a35ebd2 (patch)
treeedf202cfad96ade122edd9913ffb3fb7c2d04de0 /src/bin/elementary/test_evas_mask.c
parentevas: Make all EO canvas objects visible by default (diff)
downloadefl-83a4c3e3e2c1503f32aff81b46cc9c486a35ebd2.tar.gz
elm_test: Remove calls to visible_set for EO objects
Diffstat (limited to 'src/bin/elementary/test_evas_mask.c')
-rw-r--r--src/bin/elementary/test_evas_mask.c16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/bin/elementary/test_evas_mask.c b/src/bin/elementary/test_evas_mask.c
index 9938e9f4ba..96524b202c 100644
--- a/src/bin/elementary/test_evas_mask.c
+++ b/src/bin/elementary/test_evas_mask.c
@@ -126,8 +126,7 @@ test_evas_mask(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
ly = efl_add(ELM_LAYOUT_CLASS, win,
efl_file_set(efl_added, buf, "masking"),
efl_gfx_size_hint_weight_set(efl_added, 1.0, 1.0),
- efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0),
- efl_gfx_visible_set(efl_added, 1));
+ efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0));
efl_pack(box, ly);
// FIXME: No genlist in EO API
@@ -160,28 +159,23 @@ test_evas_mask(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
efl_orientation_set(efl_added, EFL_ORIENT_RIGHT),
efl_gfx_size_hint_weight_set(efl_added, 1.0, 0.0),
efl_gfx_size_hint_align_set(efl_added, -1.0, -1.0),
- efl_pack(box, efl_added),
- efl_gfx_visible_set(efl_added, 1));
+ efl_pack(box, efl_added));
// FIXME: button EO API
efl_add(EFL_UI_BUTTON_CLASS, win,
efl_text_set(efl_added, "Toggle mask"),
efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _toggle_mask, ly),
- efl_pack(box2, efl_added),
- efl_gfx_visible_set(efl_added, 1));
+ efl_pack(box2, efl_added));
efl_add(EFL_UI_BUTTON_CLASS, win,
efl_text_set(efl_added, "Toggle map"),
efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _toggle_map, ly),
- efl_pack(box2, efl_added),
- efl_gfx_visible_set(efl_added, 1));
+ efl_pack(box2, efl_added));
efl_add(EFL_UI_BUTTON_CLASS, win,
efl_text_set(efl_added, "Rotate Window"),
efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, _rotate_win, win),
- efl_pack(box2, efl_added),
- efl_gfx_visible_set(efl_added, 1));
+ efl_pack(box2, efl_added));
efl_gfx_size_set(win, 500, 600);
- efl_gfx_visible_set(win, 1);
}