summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2017-11-13 12:08:43 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-11-13 12:08:43 +0900
commitb9f31b183608ab4b29fc8741e1d7f9283d07a6b6 (patch)
tree053044d7cf5ab3498061e65b4e85bc28bf257a58 /src
parent2ea179d3734d7abfd620a31f1458cc662d69521f (diff)
elm: set accurate access role for elm_icon
Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5453
Diffstat (limited to 'src')
-rw-r--r--src/lib/elementary/elm_icon.c2
-rw-r--r--src/tests/elementary/elm_test_icon.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/elm_icon.c b/src/lib/elementary/elm_icon.c
index 5fdc294776..1db6b6f87b 100644
--- a/src/lib/elementary/elm_icon.c
+++ b/src/lib/elementary/elm_icon.c
@@ -615,7 +615,7 @@ _elm_icon_efl_object_constructor(Eo *obj, Elm_Icon_Data *sd)
615 615
616 efl_canvas_object_type_set(obj, MY_CLASS_NAME_LEGACY); 616 efl_canvas_object_type_set(obj, MY_CLASS_NAME_LEGACY);
617 evas_object_smart_callbacks_descriptions_set(obj, _smart_callbacks); 617 evas_object_smart_callbacks_descriptions_set(obj, _smart_callbacks);
618 efl_access_role_set(obj, EFL_ACCESS_ROLE_IMAGE); 618 efl_access_role_set(obj, EFL_ACCESS_ROLE_ICON);
619 619
620 return obj; 620 return obj;
621} 621}
diff --git a/src/tests/elementary/elm_test_icon.c b/src/tests/elementary/elm_test_icon.c
index eec0072707..2b2150665d 100644
--- a/src/tests/elementary/elm_test_icon.c
+++ b/src/tests/elementary/elm_test_icon.c
@@ -18,7 +18,7 @@ START_TEST (elm_atspi_role_get)
18 icon = elm_icon_add(win); 18 icon = elm_icon_add(win);
19 role = efl_access_role_get(icon); 19 role = efl_access_role_get(icon);
20 20
21 ck_assert(role == EFL_ACCESS_ROLE_IMAGE); 21 ck_assert(role == EFL_ACCESS_ROLE_ICON);
22 22
23 elm_shutdown(); 23 elm_shutdown();
24} 24}