From: "daniel.zaoui@samsung.com" <daniel.zaoui@samsung.com>
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 3 Jul 2012 12:19:40 +0000 (12:19 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 3 Jul 2012 12:19:40 +0000 (12:19 +0000)
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@73231 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/Edje.h
src/lib/edje_util.c

index d3bbb2b..8a0295e 100644 (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.
index 1da2900..9305e75 100644 (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;