From 3a847ba95c9cfda810708210886c2a162c579dae Mon Sep 17 00:00:00 2001 From: barbieri Date: Tue, 16 Nov 2010 08:18:12 +0000 Subject: [PATCH] missing consts... git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@54578 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/Edje_Edit.h | 4 ++-- src/lib/edje_edit.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/Edje_Edit.h b/src/lib/Edje_Edit.h index 7c3a324..c996d6a 100644 --- a/src/lib/Edje_Edit.h +++ b/src/lib/Edje_Edit.h @@ -324,7 +324,7 @@ EAPI Eina_Bool edje_edit_data_del(Evas_Object *obj, const char *itemname); * * @return Value of the given entry, or NULL if not found. */ -EAPI const char * edje_edit_data_value_get(Evas_Object *obj, char *itemname); +EAPI const char * edje_edit_data_value_get(Evas_Object *obj, const char *itemname); /** Set the data associated with the given itemname. * @@ -383,7 +383,7 @@ EAPI Eina_Bool edje_edit_group_data_del(Evas_Object *obj, const char *itemname); * * @return Value of the data entry or NULL if not found. */ -EAPI const char * edje_edit_group_data_value_get(Evas_Object *obj, char *itemname); +EAPI const char * edje_edit_group_data_value_get(Evas_Object *obj, const char *itemname); /** Set the data associated with the given itemname. * diff --git a/src/lib/edje_edit.c b/src/lib/edje_edit.c index ae0ba0c..7d641ea 100644 --- a/src/lib/edje_edit.c +++ b/src/lib/edje_edit.c @@ -1287,7 +1287,7 @@ edje_edit_data_del(Evas_Object *obj, const char *itemname) } EAPI const char * -edje_edit_group_data_value_get(Evas_Object * obj, char *key) +edje_edit_group_data_value_get(Evas_Object * obj, const char *key) { Edje_String *value; @@ -1306,7 +1306,7 @@ edje_edit_group_data_value_get(Evas_Object * obj, char *key) } EAPI const char * -edje_edit_data_value_get(Evas_Object * obj, char *itemname) +edje_edit_data_value_get(Evas_Object * obj, const char *itemname) { Edje_String *value; -- 2.7.4