summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-11-07 14:03:19 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-11-07 14:43:22 +0900
commitee90f72a76ca0ae2b5f8dd815a59fd502ab966ae (patch)
tree6776aafc1b35d708db97286bef5dce02ca041169
parent6a47c2243e604e44461ae915476f50d00eeafdf6 (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.
-rw-r--r--src/lib/elementary/efl_ui_bg.c2
-rw-r--r--src/lib/elementary/efl_ui_box.c2
-rw-r--r--src/lib/elementary/elm_box.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elementary/efl_ui_bg.c b/src/lib/elementary/efl_ui_bg.c
index a1afbeed56..7bb9e8bd9b 100644
--- a/src/lib/elementary/efl_ui_bg.c
+++ b/src/lib/elementary/efl_ui_bg.c
@@ -120,9 +120,9 @@ elm_bg_add(Evas_Object *parent)
120EOLIAN static Eo * 120EOLIAN static Eo *
121_efl_ui_bg_efl_object_constructor(Eo *obj, Efl_Ui_Bg_Data *_pd EINA_UNUSED) 121_efl_ui_bg_efl_object_constructor(Eo *obj, Efl_Ui_Bg_Data *_pd EINA_UNUSED)
122{ 122{
123 efl_access_type_set(obj, EFL_ACCESS_TYPE_DISABLED);
124 obj = efl_constructor(efl_super(obj, MY_CLASS)); 123 obj = efl_constructor(efl_super(obj, MY_CLASS));
125 efl_canvas_object_type_set(obj, MY_CLASS_NAME_LEGACY); 124 efl_canvas_object_type_set(obj, MY_CLASS_NAME_LEGACY);
125 efl_access_type_set(obj, EFL_ACCESS_TYPE_DISABLED);
126 126
127 efl_ui_widget_focus_allow_set(obj, EINA_FALSE); 127 efl_ui_widget_focus_allow_set(obj, EINA_FALSE);
128 128
diff --git a/src/lib/elementary/efl_ui_box.c b/src/lib/elementary/efl_ui_box.c
index 7c6fdeb123..9274b5666b 100644
--- a/src/lib/elementary/efl_ui_box.c
+++ b/src/lib/elementary/efl_ui_box.c
@@ -158,10 +158,10 @@ _efl_ui_box_efl_canvas_group_group_del(Eo *obj, Efl_Ui_Box_Data *sd)
158EOLIAN static Eo * 158EOLIAN static Eo *
159_efl_ui_box_efl_object_constructor(Eo *obj, Efl_Ui_Box_Data *pd) 159_efl_ui_box_efl_object_constructor(Eo *obj, Efl_Ui_Box_Data *pd)
160{ 160{
161 efl_access_type_set(obj, EFL_ACCESS_TYPE_SKIPPED);
162 obj = efl_constructor(efl_super(obj, MY_CLASS)); 161 obj = efl_constructor(efl_super(obj, MY_CLASS));
163 efl_canvas_object_type_set(obj, MY_CLASS_NAME); 162 efl_canvas_object_type_set(obj, MY_CLASS_NAME);
164 evas_object_smart_callbacks_descriptions_set(obj, _smart_callbacks); 163 evas_object_smart_callbacks_descriptions_set(obj, _smart_callbacks);
164 efl_access_type_set(obj, EFL_ACCESS_TYPE_SKIPPED);
165 efl_access_role_set(obj, EFL_ACCESS_ROLE_FILLER); 165 efl_access_role_set(obj, EFL_ACCESS_ROLE_FILLER);
166 166
167 pd->align.h = 0.5; 167 pd->align.h = 0.5;
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)
372EOLIAN static Eo * 372EOLIAN 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;