From: "daniel.zaoui@samsung.com" <daniel.zaoui@samsung.com>

Subject: [E-devel] Patch for Edje: added const to obj parameter of
edje_object_part_table_child_get

The obj parameter is used only for read access so the const can be
added to its type.



SVN revision: 73231
This commit is contained in:
daniel.zaoui@samsung.com 2012-07-03 12:19:40 +00:00 committed by Carsten Haitzler
parent b89c85f204
commit 57aa5ab62d
2 changed files with 2 additions and 2 deletions

View File

@ -3640,7 +3640,7 @@ EAPI Eina_List * edje_object_access_part_list_get (const Evas_Object *ob
* @param row The row of the child to get
* @return The child Evas_Object
*/
EAPI Evas_Object *edje_object_part_table_child_get (Evas_Object *obj, const char *part, unsigned int col, unsigned int row);
EAPI Evas_Object *edje_object_part_table_child_get (const Evas_Object *obj, const char *part, unsigned int col, unsigned int row);
/**
* @brief Packs an object into the table.

View File

@ -4087,7 +4087,7 @@ _edje_table_child_remove(Edje_Real_Part *rp, Evas_Object *child)
}
EAPI Evas_Object *
edje_object_part_table_child_get(Evas_Object *obj, const char *part, unsigned int col, unsigned int row)
edje_object_part_table_child_get(const Evas_Object *obj, const char *part, unsigned int col, unsigned int row)
{
Edje *ed;
Edje_Real_Part *rp;