jackdanielz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=296e763d1c44f978ca585b90448b4b1f99202017
commit 296e763d1c44f978ca585b90448b4b1f99202017 Author: Daniel Zaoui <daniel.za...@samsung.com> Date: Sun Oct 27 08:54:26 2013 +0200 Eo: fix macros for table A col variable has been used inside the macro instead of the column parameter. This first variable is from the legacy API and so didn't have impact when the function was called from the legacy API. In GUI Builder, the compilation of the generated C code was failing because we used directly the Eo API and so was searching for the col variable. --- src/lib/elm_table_eo.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/elm_table_eo.h b/src/lib/elm_table_eo.h index dbb3a73..da82ca9 100644 --- a/src/lib/elm_table_eo.h +++ b/src/lib/elm_table_eo.h @@ -96,7 +96,7 @@ enum * * @ingroup Table */ -#define elm_obj_table_pack(subobj, column, row, colspan, rowspan) ELM_OBJ_TABLE_ID(ELM_OBJ_TABLE_SUB_ID_PACK), EO_TYPECHECK(Evas_Object *, subobj), EO_TYPECHECK(int, col), EO_TYPECHECK(int, row), EO_TYPECHECK(int, colspan), EO_TYPECHECK(int, rowspan) +#define elm_obj_table_pack(subobj, column, row, colspan, rowspan) ELM_OBJ_TABLE_ID(ELM_OBJ_TABLE_SUB_ID_PACK), EO_TYPECHECK(Evas_Object *, subobj), EO_TYPECHECK(int, column), EO_TYPECHECK(int, row), EO_TYPECHECK(int, colspan), EO_TYPECHECK(int, rowspan) /** * @def elm_obj_table_unpack @@ -128,7 +128,7 @@ enum * * @ingroup Table */ -#define elm_obj_table_pack_set(subobj, col, row, colspan, rowspan) ELM_OBJ_TABLE_ID(ELM_OBJ_TABLE_SUB_ID_PACK_SET), EO_TYPECHECK(Evas_Object *, subobj), EO_TYPECHECK(int, col), EO_TYPECHECK(int, row), EO_TYPECHECK(int, colspan), EO_TYPECHECK(int, rowspan) +#define elm_obj_table_pack_set(subobj, column, row, colspan, rowspan) ELM_OBJ_TABLE_ID(ELM_OBJ_TABLE_SUB_ID_PACK_SET), EO_TYPECHECK(Evas_Object *, subobj), EO_TYPECHECK(int, column), EO_TYPECHECK(int, row), EO_TYPECHECK(int, colspan), EO_TYPECHECK(int, rowspan) /** * @def elm_obj_table_pack_get @@ -146,7 +146,7 @@ enum * * @ingroup Table */ -#define elm_obj_table_pack_get(subobj, col, row, colspan, rowspan) ELM_OBJ_TABLE_ID(ELM_OBJ_TABLE_SUB_ID_PACK_GET), EO_TYPECHECK(Evas_Object *, subobj), EO_TYPECHECK(int *, col), EO_TYPECHECK(int *, row), EO_TYPECHECK(int *, colspan), EO_TYPECHECK(int *, rowspan) +#define elm_obj_table_pack_get(subobj, column, row, colspan, rowspan) ELM_OBJ_TABLE_ID(ELM_OBJ_TABLE_SUB_ID_PACK_GET), EO_TYPECHECK(Evas_Object *, subobj), EO_TYPECHECK(int *, column), EO_TYPECHECK(int *, row), EO_TYPECHECK(int *, colspan), EO_TYPECHECK(int *, rowspan) /** * @def elm_obj_table_clear --