summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_table.c
diff options
context:
space:
mode:
authorYossi Kantor <yossi.kantor@samsung.com>2014-04-02 10:46:53 +0300
committerDaniel Zaoui <daniel.zaoui@samsung.com>2014-04-13 11:30:58 +0300
commit58afcdc9ed3507b6702e39103c8860c5805f6e74 (patch)
tree25d903f67ca1b71456d05b8c465bdb9bd2e1d728 /src/lib/evas/canvas/evas_object_table.c
parentc13bbe3c89999430429ecd99f2ac3f5d794a42f6 (diff)
Eolian: Legacy integration of Evas Table
Diffstat (limited to 'src/lib/evas/canvas/evas_object_table.c')
-rw-r--r--src/lib/evas/canvas/evas_object_table.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/evas/canvas/evas_object_table.c b/src/lib/evas/canvas/evas_object_table.c
index 42796bc..057836e 100644
--- a/src/lib/evas/canvas/evas_object_table.c
+++ b/src/lib/evas/canvas/evas_object_table.c
@@ -1354,14 +1354,12 @@ _evas_table_children_get(Eo *o EINA_UNUSED, Evas_Table_Data *priv)
1354 return new_list; 1354 return new_list;
1355} 1355}
1356 1356
1357Evas_Object * 1357EOLIAN static Evas_Object *
1358evas_object_table_child_get(const Evas_Object *o, unsigned short col, unsigned short row) 1358_evas_table_child_get(Eo *o EINA_UNUSED, Evas_Table_Data *priv, unsigned short col, unsigned short row)
1359{ 1359{
1360 Eina_List *l; 1360 Eina_List *l;
1361 Evas_Object_Table_Option *opt; 1361 Evas_Object_Table_Option *opt;
1362 1362
1363 EVAS_OBJECT_TABLE_DATA_GET_OR_RETURN_VAL(o, priv, NULL);
1364
1365 EINA_LIST_FOREACH(priv->children, l, opt) 1363 EINA_LIST_FOREACH(priv->children, l, opt)
1366 if (opt->col == col && opt->row == row) 1364 if (opt->col == col && opt->row == row)
1367 return opt->obj; 1365 return opt->obj;
@@ -1387,7 +1385,7 @@ _evas_table_mirrored_set(Eo *o, Evas_Table_Data *priv, Eina_Bool mirrored)
1387EOLIAN static void 1385EOLIAN static void
1388_evas_table_class_constructor(Eo_Class *klass) 1386_evas_table_class_constructor(Eo_Class *klass)
1389{ 1387{
1390 evas_smart_legacy_type_register(MY_CLASS_NAME_LEGACY, klass); 1388 evas_smart_legacy_type_register(MY_CLASS_NAME_LEGACY, klass);
1391} 1389}
1392 1390
1393#include "canvas/evas_table.eo.c" 1391#include "canvas/evas_table.eo.c"