From 83a4c3e3e2c1503f32aff81b46cc9c486a35ebd2 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Thu, 6 Jul 2017 17:22:41 +0900 Subject: elm_test: Remove calls to visible_set for EO objects --- src/bin/elementary/test_ui_box.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/bin/elementary/test_ui_box.c') diff --git a/src/bin/elementary/test_ui_box.c b/src/bin/elementary/test_ui_box.c index beeb7318c0..b005dbce00 100644 --- a/src/bin/elementary/test_ui_box.c +++ b/src/bin/elementary/test_ui_box.c @@ -227,7 +227,6 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in efl_gfx_size_hint_weight_set(vbox, 1, 1); efl_gfx_size_hint_margin_set(vbox, 5, 5, 5, 5); elm_win_resize_object_add(win, vbox); - efl_gfx_visible_set(vbox, 1); /* controls */ @@ -241,7 +240,6 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in hbox = efl_add(EFL_UI_BOX_CLASS, win); elm_object_content_set(f, hbox); efl_pack_padding_set(hbox, 10, 0, EINA_TRUE); - efl_gfx_visible_set(hbox, 1); /* weights radio group */ @@ -249,7 +247,6 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in efl_orientation_set(efl_added, EFL_ORIENT_DOWN)); efl_gfx_size_hint_align_set(bx, 0, -1); efl_pack(hbox, bx); - efl_gfx_visible_set(bx, 1); chk = o = elm_radio_add(win); elm_object_text_set(o, "No weight"); @@ -304,7 +301,6 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in efl_gfx_size_hint_align_set(bx, 0, -1); efl_gfx_size_hint_weight_set(bx, 0, 1); efl_pack(hbox, bx); - efl_gfx_visible_set(bx, 1); o = elm_label_add(win); elm_object_text_set(o, "Misc"); @@ -359,7 +355,6 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in efl_gfx_size_hint_align_set(bx, 0, -1); efl_gfx_size_hint_weight_set(bx, 0, 1); efl_pack(hbox, bx); - efl_gfx_visible_set(bx, 1); o = elm_label_add(win); elm_object_text_set(o, "User min size"); @@ -386,7 +381,6 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in efl_gfx_size_hint_align_set(bx, 0, -1); efl_gfx_size_hint_weight_set(bx, 0, 1); efl_pack(hbox, bx); - efl_gfx_visible_set(bx, 1); o = elm_label_add(win); elm_object_text_set(o, "Padding"); @@ -413,7 +407,6 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in efl_gfx_size_hint_align_set(bx, 0, -1); efl_gfx_size_hint_weight_set(bx, 0, 1); efl_pack(hbox, bx); - efl_gfx_visible_set(bx, 1); o = elm_label_add(win); elm_object_text_set(o, "Margin"); @@ -440,7 +433,6 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in efl_gfx_size_hint_align_set(bx, 0, -1); efl_gfx_size_hint_weight_set(bx, 1, 1); efl_pack(hbox, bx); - efl_gfx_visible_set(bx, 1); o = elm_label_add(win); elm_object_text_set(o, "Box align"); @@ -489,7 +481,6 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in efl_gfx_size_hint_align_set(bx, 0.5, 0.5); efl_gfx_size_hint_weight_set(bx, 1, 1); elm_object_content_set(f, bx); - efl_gfx_visible_set(bx, 1); objects[i++] = o = elm_button_add(win); elm_object_text_set(o, "Btn1"); -- cgit v1.2.1