[elm] Some emergencial elm_web api changes fixes.

There's one more to go, but that's internal.



SVN revision: 75467
This commit is contained in:
Gustavo Lima Chaves 2012-08-20 14:05:10 +00:00
parent 0195932cb3
commit 111b4e4d12
3 changed files with 6 additions and 6 deletions

View File

@ -448,7 +448,7 @@ _run_dialog(Evas_Object *parent,
enum Dialog_Type type,
const char *message,
const char *default_entry_value,
char **entry_value,
const char **entry_value,
Eina_Bool allows_multiple_files __UNUSED__,
Eina_List *accept_types __UNUSED__,
Eina_List **selected_filenames,
@ -645,7 +645,7 @@ _view_smart_run_javascript_prompt(Ewk_View_Smart_Data *esd,
Evas_Object *frame __UNUSED__,
const char *message,
const char *default_value,
char **value)
const char **value)
{
View_Smart_Data *vsd = (View_Smart_Data *)esd;
Evas_Object *view = vsd->base.self;
@ -1503,7 +1503,7 @@ elm_web_bg_color_get(const Evas_Object *obj,
#endif
}
EAPI char *
EAPI const char *
elm_web_selection_get(const Evas_Object *obj)
{
ELM_WEB_CHECK(obj) NULL;

View File

@ -320,7 +320,7 @@ typedef Evas_Object *(*Elm_Web_Dialog_Confirm)(void *data, Evas_Object *obj, con
*
* @ingroup Web
*/
typedef Evas_Object *(*Elm_Web_Dialog_Prompt)(void *data, Evas_Object *obj, const char *message, const char *def_value, char **value, Eina_Bool *ret);
typedef Evas_Object *(*Elm_Web_Dialog_Prompt)(void *data, Evas_Object *obj, const char *message, const char *def_value, const char **value, Eina_Bool *ret);
/**
* Callback type for the JS file selector hook.
@ -632,7 +632,7 @@ EAPI void elm_web_bg_color_get(const Evas_Object *obj, int *r, int
*
* @ingroup Web
*/
EAPI char *elm_web_selection_get(const Evas_Object *obj);
EAPI const char *elm_web_selection_get(const Evas_Object *obj);
/**
* Tells the web object which index in the currently open popup was selected

View File

@ -188,7 +188,7 @@ struct _Dialog_Data
Evas_Object *file_sel;
Eina_Bool *response;
char **entry_value;
const char **entry_value;
Eina_List **selected_files;
};