summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/lib/elm_access.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-03-02 12:10:48 +0000
committerTom Hacohen <tom@stosb.com>2016-03-03 10:08:27 +0000
commitd16aa5956be0ce308c0eb8d8e876dd0d9af55a46 (patch)
treeae809b5766557b903abd6c1a4d9ef22459c40cff /legacy/elementary/src/lib/elm_access.c
parent1546c9c107bac28a36422c3aed8a68d9bd1bc170 (diff)
Automatic migration to Eo4.
I just ran my script (email to follow) to migrate all of the EFL automatically. This commit is *only* the automatic conversion, so it can be easily reverted and re-run.
Diffstat (limited to 'legacy/elementary/src/lib/elm_access.c')
-rw-r--r--legacy/elementary/src/lib/elm_access.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/legacy/elementary/src/lib/elm_access.c b/legacy/elementary/src/lib/elm_access.c
index 47f87b6..b238537 100644
--- a/legacy/elementary/src/lib/elm_access.c
+++ b/legacy/elementary/src/lib/elm_access.c
@@ -37,7 +37,7 @@ static void _access_object_unregister(Evas_Object *obj);
37EOLIAN static void 37EOLIAN static void
38_elm_access_evas_object_smart_add(Eo *obj, void *_pd EINA_UNUSED) 38_elm_access_evas_object_smart_add(Eo *obj, void *_pd EINA_UNUSED)
39{ 39{
40 eo_do_super(obj, MY_CLASS, evas_obj_smart_add()); 40 evas_obj_smart_add(eo_super(obj, MY_CLASS));
41 elm_widget_sub_object_parent_add(obj); 41 elm_widget_sub_object_parent_add(obj);
42} 42}
43 43
@@ -1241,9 +1241,8 @@ _elm_access_add(Evas_Object *parent)
1241EOLIAN static Eo * 1241EOLIAN static Eo *
1242_elm_access_eo_base_constructor(Eo *obj, void *_pd EINA_UNUSED) 1242_elm_access_eo_base_constructor(Eo *obj, void *_pd EINA_UNUSED)
1243{ 1243{
1244 obj = eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor()); 1244 obj = eo_constructor(eo_super(obj, MY_CLASS));
1245 eo_do(obj, 1245 evas_obj_type_set(obj, MY_CLASS_NAME_LEGACY);
1246 evas_obj_type_set(MY_CLASS_NAME_LEGACY));
1247 1246
1248 return obj; 1247 return obj;
1249} 1248}