diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-11-07 14:03:19 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-11-07 14:43:22 +0900 |
commit | ee90f72a76ca0ae2b5f8dd815a59fd502ab966ae (patch) | |
tree | 6776aafc1b35d708db97286bef5dce02ca041169 /src/lib/elementary/elm_box.c | |
parent | 6a47c2243e604e44461ae915476f50d00eeafdf6 (diff) |
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.
Diffstat (limited to '')
-rw-r--r-- | src/lib/elementary/elm_box.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
372 | EOLIAN static Eo * | 372 | EOLIAN static Eo * |
373 | _elm_box_efl_object_constructor(Eo *obj, Elm_Box_Data *_pd EINA_UNUSED) | 373 | _elm_box_efl_object_constructor(Eo *obj, Elm_Box_Data *_pd EINA_UNUSED) |
374 | { | 374 | { |
375 | efl_access_type_set(obj, EFL_ACCESS_TYPE_SKIPPED); | ||
376 | obj = efl_constructor(efl_super(obj, MY_CLASS)); | 375 | obj = efl_constructor(efl_super(obj, MY_CLASS)); |
377 | efl_canvas_object_type_set(obj, MY_CLASS_NAME_LEGACY); | 376 | efl_canvas_object_type_set(obj, MY_CLASS_NAME_LEGACY); |
378 | evas_object_smart_callbacks_descriptions_set(obj, _smart_callbacks); | 377 | evas_object_smart_callbacks_descriptions_set(obj, _smart_callbacks); |
378 | efl_access_type_set(obj, EFL_ACCESS_TYPE_SKIPPED); | ||
379 | efl_access_role_set(obj, EFL_ACCESS_ROLE_FILLER); | 379 | efl_access_role_set(obj, EFL_ACCESS_ROLE_FILLER); |
380 | 380 | ||
381 | return obj; | 381 | return obj; |