From: barbieri Date: Tue, 16 Nov 2010 08:18:12 +0000 (+0000) Subject: missing consts... X-Git-Tag: submit/2.0alpha-wayland/20121127.221958~971 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a847ba95c9cfda810708210886c2a162c579dae;p=profile%2Fivi%2Fedje.git missing consts... git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@54578 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- 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;