From ee90f72a76ca0ae2b5f8dd815a59fd502ab966ae Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Tue, 7 Nov 2017 14:03:19 +0900 Subject: elm: Call efl_access_type_set after construction I don't think it is necessary to call this before construction, and that could instead lead to issues. It's just weird overall. --- src/lib/elementary/elm_box.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/elementary/elm_box.c') diff --git a/src/lib/elementary/elm_box.c b/src/lib/elementary/elm_box.c index 10ede30361..b59705d861 100644 --- a/src/lib/elementary/elm_box.c +++ b/src/lib/elementary/elm_box.c @@ -372,10 +372,10 @@ elm_box_add(Evas_Object *parent) EOLIAN static Eo * _elm_box_efl_object_constructor(Eo *obj, Elm_Box_Data *_pd EINA_UNUSED) { - efl_access_type_set(obj, EFL_ACCESS_TYPE_SKIPPED); obj = efl_constructor(efl_super(obj, MY_CLASS)); efl_canvas_object_type_set(obj, MY_CLASS_NAME_LEGACY); evas_object_smart_callbacks_descriptions_set(obj, _smart_callbacks); + efl_access_type_set(obj, EFL_ACCESS_TYPE_SKIPPED); efl_access_role_set(obj, EFL_ACCESS_ROLE_FILLER); return obj; -- cgit v1.2.1