aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/elementary/test_index.c
diff options
context:
space:
mode:
authorYeshwanth Reddivari <r.yeshwanth@samsung.com>2016-05-18 18:33:53 +0900
committerHermet Park <hermet@hermet.pe.kr>2016-05-18 18:33:53 +0900
commit26316058f04663f6d5b8eb96cfd4dc6e2b9a5579 (patch)
treed7243e16bc93b1974c8a338d3c0f42b0667726c6 /src/bin/elementary/test_index.c
parentindex: Avoid SIGSEV in elm_index_item_sorted_insert (diff)
downloadefl-26316058f04663f6d5b8eb96cfd4dc6e2b9a5579.tar.gz
Index : Use orientation interface APIs instead of horizontal set/get APIs
Test Plan: elementary_test Reviewers: singh.amitesh, jpeg, cedric, raster, Hermet Subscribers: Hermet Differential Revision: https://phab.enlightenment.org/D3954
Diffstat (limited to 'src/bin/elementary/test_index.c')
-rw-r--r--src/bin/elementary/test_index.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/elementary/test_index.c b/src/bin/elementary/test_index.c
index 085f8493db..141c808501 100644
--- a/src/bin/elementary/test_index.c
+++ b/src/bin/elementary/test_index.c
@@ -82,7 +82,7 @@ set_api_state(api_data *api)
break;
case INDEX_HORIZONTAL:
- elm_index_horizontal_set(d->id, EINA_TRUE);
+ efl_orientation_set(d->id, EFL_ORIENT_HORIZONTAL);
break;
case INDEX_INDICATOR_DISABLED:
@@ -564,7 +564,7 @@ test_index_horizontal(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
evas_object_show(list);
api->dt.id = id = elm_index_add(win);
- elm_index_horizontal_set(id, EINA_TRUE);
+ efl_orientation_set(id, EFL_ORIENT_HORIZONTAL);
evas_object_size_hint_weight_set(id, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(id, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_table_pack(tb, id, 0, 0, 1, 1);