summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorIván Briano <sachieru@gmail.com>2011-10-21 20:56:09 +0000
committerIván Briano <sachieru@gmail.com>2011-10-21 20:56:09 +0000
commit4b911014e59fb381978ad9076260bfa39dd5675b (patch)
treea468badac1db476e48b203edd5afecce9e37b43e /legacy
parent132c0994e6636c2eeec78c40380c081211fda64f (diff)
Webkit changed API, we should dress accordingly.
SVN revision: 64267
Diffstat (limited to 'legacy')
-rw-r--r--legacy/elementary/src/bin/test_web.c2
-rw-r--r--legacy/elementary/src/lib/Elementary.h.in2
-rw-r--r--legacy/elementary/src/lib/elm_web.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/legacy/elementary/src/bin/test_web.c b/legacy/elementary/src/bin/test_web.c
index ecf8dc8842..2c0941bacf 100644
--- a/legacy/elementary/src/bin/test_web.c
+++ b/legacy/elementary/src/bin/test_web.c
@@ -218,7 +218,7 @@ _prompt_hook(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *mes
218} 218}
219 219
220static Evas_Object * 220static Evas_Object *
221_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) 221_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)
222{ 222{
223 *selected_files = eina_list_append(NULL, 223 *selected_files = eina_list_append(NULL,
224 strdup("/path/to/non_existing_file")); 224 strdup("/path/to/non_existing_file"));
diff --git a/legacy/elementary/src/lib/Elementary.h.in b/legacy/elementary/src/lib/Elementary.h.in
index efe11c640f..fa82c6e032 100644
--- a/legacy/elementary/src/lib/Elementary.h.in
+++ b/legacy/elementary/src/lib/Elementary.h.in
@@ -13357,7 +13357,7 @@ extern "C" {
13357 * 13357 *
13358 * @see elm_web_dialog_file selector_hook_set() 13358 * @see elm_web_dialog_file selector_hook_set()
13359 */ 13359 */
13360 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); 13360 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);
13361 /** 13361 /**
13362 * Callback type for the JS console message hook. 13362 * Callback type for the JS console message hook.
13363 * 13363 *
diff --git a/legacy/elementary/src/lib/elm_web.c b/legacy/elementary/src/lib/elm_web.c
index 421555e663..46169df561 100644
--- a/legacy/elementary/src/lib/elm_web.c
+++ b/legacy/elementary/src/lib/elm_web.c
@@ -455,7 +455,7 @@ _dialog_new(Evas_Object *parent)
455} 455}
456 456
457static Evas_Object * 457static Evas_Object *
458_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) 458_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)
459{ 459{
460 EINA_SAFETY_ON_TRUE_RETURN_VAL((type != DIALOG_PROMPT) && (!!default_entry_value), EINA_FALSE); 460 EINA_SAFETY_ON_TRUE_RETURN_VAL((type != DIALOG_PROMPT) && (!!default_entry_value), EINA_FALSE);
461 EINA_SAFETY_ON_TRUE_RETURN_VAL((type != DIALOG_PROMPT) && (!!entry_value), EINA_FALSE); 461 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 _
638} 638}
639 639
640static Eina_Bool 640static Eina_Bool
641_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) 641_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)
642{ 642{
643 View_Smart_Data *sd = (View_Smart_Data *)esd; 643 View_Smart_Data *sd = (View_Smart_Data *)esd;
644 Evas_Object *view = sd->base.self; 644 Evas_Object *view = sd->base.self;