summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_table.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-03-01 18:06:28 +0000
committerTom Hacohen <tom@stosb.com>2016-03-03 09:58:08 +0000
commitf21ade6123b9053fca8d1632644c48525a99d6e0 (patch)
treec5eb0445f471d21365a7a5a7b0ec7d279c11b398 /src/lib/evas/canvas/evas_object_table.c
parent3faf3f3fc68a839f06b311c35ba020cb25e7c9c4 (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 'src/lib/evas/canvas/evas_object_table.c')
-rw-r--r--src/lib/evas/canvas/evas_object_table.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/evas/canvas/evas_object_table.c b/src/lib/evas/canvas/evas_object_table.c
index 158237a..60a83fd 100644
--- a/src/lib/evas/canvas/evas_object_table.c
+++ b/src/lib/evas/canvas/evas_object_table.c
@@ -272,13 +272,13 @@ static const Eo_Callback_Array_Item evas_object_table_callbacks[] = {
272static void 272static void
273_evas_object_table_child_connect(Evas_Object *o, Evas_Object *child) 273_evas_object_table_child_connect(Evas_Object *o, Evas_Object *child)
274{ 274{
275 eo_do(child, eo_event_callback_array_add(evas_object_table_callbacks, o)); 275 eo_event_callback_array_add(child, evas_object_table_callbacks, o);
276} 276}
277 277
278static void 278static void
279_evas_object_table_child_disconnect(Evas_Object *o, Evas_Object *child) 279_evas_object_table_child_disconnect(Evas_Object *o, Evas_Object *child)
280{ 280{
281 eo_do(child, eo_event_callback_array_del(evas_object_table_callbacks, o)); 281 eo_event_callback_array_del(child, evas_object_table_callbacks, o);
282} 282}
283 283
284static void 284static void
@@ -899,7 +899,7 @@ _evas_table_evas_object_smart_add(Eo *obj, Evas_Table_Data *priv)
899 priv->expand_h = 0; 899 priv->expand_h = 0;
900 priv->expand_v = 0; 900 priv->expand_v = 0;
901 901
902 eo_do_super(obj, MY_CLASS, evas_obj_smart_add()); 902 evas_obj_smart_add(eo_super(obj, MY_CLASS));
903} 903}
904 904
905EOLIAN static void 905EOLIAN static void
@@ -923,7 +923,7 @@ _evas_table_evas_object_smart_del(Eo *obj, Evas_Table_Data *priv)
923 priv->cache = NULL; 923 priv->cache = NULL;
924 } 924 }
925 925
926 eo_do_super(obj, MY_CLASS, evas_obj_smart_del()); 926 evas_obj_smart_del(eo_super(obj, MY_CLASS));
927} 927}
928 928
929EOLIAN static void 929EOLIAN static void
@@ -971,8 +971,8 @@ evas_object_table_add(Evas *evas)
971EOLIAN static Eo * 971EOLIAN static Eo *
972_evas_table_eo_base_constructor(Eo *obj, Evas_Table_Data *class_data EINA_UNUSED) 972_evas_table_eo_base_constructor(Eo *obj, Evas_Table_Data *class_data EINA_UNUSED)
973{ 973{
974 obj = eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor()); 974 obj = eo_constructor(eo_super(obj, MY_CLASS));
975 eo_do(obj, evas_obj_type_set(MY_CLASS_NAME_LEGACY)); 975 evas_obj_type_set(obj, MY_CLASS_NAME_LEGACY);
976 976
977 return obj; 977 return obj;
978} 978}
@@ -1397,7 +1397,7 @@ _evas_table_mirrored_set(Eo *o, Evas_Table_Data *priv, Eina_Bool mirrored)
1397 if (priv->is_mirrored != mirrored) 1397 if (priv->is_mirrored != mirrored)
1398 { 1398 {
1399 priv->is_mirrored = mirrored; 1399 priv->is_mirrored = mirrored;
1400 eo_do(o, evas_obj_smart_calculate()); 1400 evas_obj_smart_calculate(o);
1401 } 1401 }
1402} 1402}
1403 1403