From a7d336ef308ecfb933c26434fe73d0d6f0c59f08 Mon Sep 17 00:00:00 2001 From: tasn Date: Tue, 22 May 2012 10:18:46 +0000 Subject: [PATCH] Evas grid/table: Add const to objects where needed. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@71312 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/Evas.h | 4 ++-- src/lib/canvas/evas_object_grid.c | 2 +- src/lib/canvas/evas_object_table.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/Evas.h b/src/lib/Evas.h index 6d0fc79..407376a 100644 --- a/src/lib/Evas.h +++ b/src/lib/Evas.h @@ -11517,7 +11517,7 @@ EAPI Eina_Bool evas_object_table_mirrored_get (cons * @return 1 on success, 0 on failure. * @since 1.1.0 */ -EAPI Eina_Bool evas_object_table_pack_get(Evas_Object *o, Evas_Object *child, unsigned short *col, unsigned short *row, unsigned short *colspan, unsigned short *rowspan); +EAPI Eina_Bool evas_object_table_pack_get(const Evas_Object *o, Evas_Object *child, unsigned short *col, unsigned short *row, unsigned short *colspan, unsigned short *rowspan); /** * Add a new child to a table object or set its current packing. @@ -11720,7 +11720,7 @@ EAPI void evas_object_grid_clear (Evas_ * @return 1 on success, 0 on failure. * @since 1.1.0 */ -EAPI Eina_Bool evas_object_grid_pack_get (Evas_Object *o, Evas_Object *child, int *x, int *y, int *w, int *h); +EAPI Eina_Bool evas_object_grid_pack_get (const Evas_Object *o, Evas_Object *child, int *x, int *y, int *w, int *h); /** * Get an iterator to walk the list of children for the grid. diff --git a/src/lib/canvas/evas_object_grid.c b/src/lib/canvas/evas_object_grid.c index db0f43d..c070b9c 100644 --- a/src/lib/canvas/evas_object_grid.c +++ b/src/lib/canvas/evas_object_grid.c @@ -365,7 +365,7 @@ evas_object_grid_clear(Evas_Object *o, Eina_Bool clear) } EAPI Eina_Bool -evas_object_grid_pack_get(Evas_Object *o, Evas_Object *child, int *x, int *y, int *w, int *h) +evas_object_grid_pack_get(const Evas_Object *o, Evas_Object *child, int *x, int *y, int *w, int *h) { Evas_Object_Grid_Option *opt; diff --git a/src/lib/canvas/evas_object_table.c b/src/lib/canvas/evas_object_table.c index 8fe9061..abec3af 100644 --- a/src/lib/canvas/evas_object_table.c +++ b/src/lib/canvas/evas_object_table.c @@ -1044,7 +1044,7 @@ evas_object_table_padding_get(const Evas_Object *o, Evas_Coord *horizontal, Evas } EAPI Eina_Bool -evas_object_table_pack_get(Evas_Object *o, Evas_Object *child, unsigned short *col, unsigned short *row, unsigned short *colspan, unsigned short *rowspan) +evas_object_table_pack_get(const Evas_Object *o, Evas_Object *child, unsigned short *col, unsigned short *row, unsigned short *colspan, unsigned short *rowspan) { Evas_Object_Table_Option *opt; -- 2.7.4