forked from enlightenment/efl
Webkit changed API, we should dress accordingly.
SVN revision: 64267
This commit is contained in:
parent
132c0994e6
commit
4b911014e5
|
@ -218,7 +218,7 @@ _prompt_hook(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *mes
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_file_selector_hook(void *data __UNUSED__, Evas_Object *obj __UNUSED__, Eina_Bool allow_multiple __UNUSED__, const char *accept_types __UNUSED__, Eina_List **selected_files, Eina_Bool *response)
|
_file_selector_hook(void *data __UNUSED__, Evas_Object *obj __UNUSED__, Eina_Bool allow_multiple __UNUSED__, Eina_List *accept_types __UNUSED__, Eina_List **selected_files, Eina_Bool *response)
|
||||||
{
|
{
|
||||||
*selected_files = eina_list_append(NULL,
|
*selected_files = eina_list_append(NULL,
|
||||||
strdup("/path/to/non_existing_file"));
|
strdup("/path/to/non_existing_file"));
|
||||||
|
|
|
@ -13357,7 +13357,7 @@ extern "C" {
|
||||||
*
|
*
|
||||||
* @see elm_web_dialog_file selector_hook_set()
|
* @see elm_web_dialog_file selector_hook_set()
|
||||||
*/
|
*/
|
||||||
typedef Evas_Object *(*Elm_Web_Dialog_File_Selector)(void *data, Evas_Object *obj, Eina_Bool allows_multiple, const char *accept_types, Eina_List **selected, Eina_Bool *ret);
|
typedef Evas_Object *(*Elm_Web_Dialog_File_Selector)(void *data, Evas_Object *obj, Eina_Bool allows_multiple, Eina_List *accept_types, Eina_List **selected, Eina_Bool *ret);
|
||||||
/**
|
/**
|
||||||
* Callback type for the JS console message hook.
|
* Callback type for the JS console message hook.
|
||||||
*
|
*
|
||||||
|
|
|
@ -455,7 +455,7 @@ _dialog_new(Evas_Object *parent)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_run_dialog(Evas_Object *parent, enum Dialog_Type type, const char *message, const char *default_entry_value, char **entry_value, Eina_Bool allows_multiple_files __UNUSED__, const char *accept_types __UNUSED__, Eina_List **selected_filenames, Eina_Bool *response)
|
_run_dialog(Evas_Object *parent, enum Dialog_Type type, const char *message, const char *default_entry_value, char **entry_value, Eina_Bool allows_multiple_files __UNUSED__, Eina_List *accept_types __UNUSED__, Eina_List **selected_filenames, Eina_Bool *response)
|
||||||
{
|
{
|
||||||
EINA_SAFETY_ON_TRUE_RETURN_VAL((type != DIALOG_PROMPT) && (!!default_entry_value), EINA_FALSE);
|
EINA_SAFETY_ON_TRUE_RETURN_VAL((type != DIALOG_PROMPT) && (!!default_entry_value), EINA_FALSE);
|
||||||
EINA_SAFETY_ON_TRUE_RETURN_VAL((type != DIALOG_PROMPT) && (!!entry_value), EINA_FALSE);
|
EINA_SAFETY_ON_TRUE_RETURN_VAL((type != DIALOG_PROMPT) && (!!entry_value), EINA_FALSE);
|
||||||
|
@ -638,7 +638,7 @@ _view_smart_run_javascript_prompt(Ewk_View_Smart_Data *esd, Evas_Object *frame _
|
||||||
}
|
}
|
||||||
|
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
_view_smart_run_open_panel(Ewk_View_Smart_Data *esd, Evas_Object *frame __UNUSED__, Eina_Bool allows_multiple_files, const char *accept_types, Eina_List **selected_filenames)
|
_view_smart_run_open_panel(Ewk_View_Smart_Data *esd, Evas_Object *frame __UNUSED__, Eina_Bool allows_multiple_files, Eina_List *accept_types, Eina_List **selected_filenames)
|
||||||
{
|
{
|
||||||
View_Smart_Data *sd = (View_Smart_Data *)esd;
|
View_Smart_Data *sd = (View_Smart_Data *)esd;
|
||||||
Evas_Object *view = sd->base.self;
|
Evas_Object *view = sd->base.self;
|
||||||
|
|
Loading…
Reference in New Issue