elm_table: clean up newly added function elm_table_child_get.

- moved function position.
- added const to the first parameter.
This commit is contained in:
Daniel Juyung Seo 2013-09-10 13:46:35 +09:00
parent 0cf13cac1b
commit c301e67153
2 changed files with 11 additions and 11 deletions

View File

@ -403,16 +403,6 @@ elm_table_pack_get(Evas_Object *subobj,
eo_do(obj, elm_obj_table_pack_get(subobj, col, row, colspan, rowspan));
}
EAPI Evas_Object *
elm_table_child_get(Evas_Object *obj, int col, int row)
{
Evas_Object *ret;
ELM_TABLE_CHECK(obj) NULL;
eo_do(obj, elm_obj_table_child_get(col, row, &ret));
return ret;
}
static void
_pack_get(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
{
@ -450,6 +440,16 @@ _clear(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
evas_object_table_clear(wd->resize_obj, clear);
}
EAPI Evas_Object *
elm_table_child_get(const Evas_Object *obj, int col, int row)
{
Evas_Object *ret;
ELM_TABLE_CHECK(obj) NULL;
eo_do((Eo *)obj, elm_obj_table_child_get(col, row, &ret));
return ret;
}
static void
_child_get(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
{

View File

@ -135,4 +135,4 @@ EAPI void elm_table_clear(Evas_Object *obj, Eina_Bool clear);
*
* @return Child of object if find if not return NULL.
*/
EAPI Evas_Object *elm_table_child_get(Evas_Object *obj, int col, int row);
EAPI Evas_Object *elm_table_child_get(const Evas_Object *obj, int col, int row);