Fix compilation after event rename

This commit is contained in:
Daniel Zaoui 2019-09-08 21:27:32 +03:00
parent ff15ac77f4
commit 243e4c4dc8
2 changed files with 4 additions and 4 deletions

View File

@ -577,7 +577,7 @@ _dialog_box_create(const char *title, const char *content, const char *but1_str,
efl_text_set(efl_added, but1_str),
efl_gfx_hint_weight_set(efl_added, 0, 0),
efl_gfx_entity_visible_set(efl_added, EINA_TRUE));
if (cb1) efl_event_callback_add(bt1, EFL_UI_EVENT_CLICKED, cb1, win);
if (cb1) efl_event_callback_add(bt1, EFL_INPUT_EVENT_CLICKED, cb1, win);
efl_pack(bx2, bt1);
}
if (but2_str)
@ -586,7 +586,7 @@ _dialog_box_create(const char *title, const char *content, const char *but1_str,
efl_text_set(efl_added, but2_str),
efl_gfx_hint_weight_set(efl_added, 0, 0),
efl_gfx_entity_visible_set(efl_added, EINA_TRUE));
if (cb2) efl_event_callback_add(bt2, EFL_UI_EVENT_CLICKED, cb2, win);
if (cb2) efl_event_callback_add(bt2, EFL_INPUT_EVENT_CLICKED, cb2, win);
efl_pack(bx2, bt2);
}
}

View File

@ -139,7 +139,7 @@ gui_take_screenshot_button_create(Eo *__main_parent)
pub_widgets->bt = bt;
evas_object_size_hint_weight_set(bt, 1.000000, 1.000000);
evas_object_show(bt);
efl_event_callback_add(bt, EFL_UI_EVENT_CLICKED, take_screenshot_button_clicked, NULL);
efl_event_callback_add(bt, EFL_INPUT_EVENT_CLICKED, take_screenshot_button_clicked, NULL);
elm_icon1 = elm_icon_add(bt);
evas_object_size_hint_weight_set(elm_icon1, 1.000000, 1.000000);
@ -164,7 +164,7 @@ gui_show_screenshot_button_create(Eo *__main_parent)
evas_object_size_hint_weight_set(bt, 1.000000, 1.000000);
evas_object_show(bt);
evas_object_resize(bt, 73, 30);
efl_event_callback_add(bt, EFL_UI_EVENT_CLICKED, show_screenshot_button_clicked, NULL);
efl_event_callback_add(bt, EFL_INPUT_EVENT_CLICKED, show_screenshot_button_clicked, NULL);
elm_icon1 = elm_icon_add(bt);
evas_object_size_hint_weight_set(elm_icon1, 1.000000, 1.000000);