summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Alzyod <ali198724@gmail.com>2019-09-02 16:18:27 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-09-02 16:18:46 +0200
commit17609ba6bf8bea42e121f742fceea77308e50d5d (patch)
tree8c3bb88443719eca55ee21d43a6d4b20f80f83bc
parent93120a13f5d85ef523455c38b519be853faaf94e (diff)
example: fix compilation error
Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi Differential Revision: https://phab.enlightenment.org/D9815
-rw-r--r--unsorted/elementary/efl_ui_list_example_1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unsorted/elementary/efl_ui_list_example_1.c b/unsorted/elementary/efl_ui_list_example_1.c
index b289ed5..424044c 100644
--- a/unsorted/elementary/efl_ui_list_example_1.c
+++ b/unsorted/elementary/efl_ui_list_example_1.c
@@ -302,14 +302,14 @@ elm_main(int argc, char **argv)
302 efl_text_set(scrl_btn, "Scroll Item"); 302 efl_text_set(scrl_btn, "Scroll Item");
303 efl_gfx_hint_align_set(scrl_btn, 0.5, 0.5); 303 efl_gfx_hint_align_set(scrl_btn, 0.5, 0.5);
304 efl_gfx_hint_size_min_set(scrl_btn, EINA_SIZE2D(200, 25)); 304 efl_gfx_hint_size_min_set(scrl_btn, EINA_SIZE2D(200, 25));
305 efl_event_callback_add(scrl_btn, EFL_UI_EVENT_CLICKED, _scrl_btn_clicked, NULL); 305 efl_event_callback_add(scrl_btn, EFL_INPUT_EVENT_CLICKED, _scrl_btn_clicked, NULL);
306 efl_pack_end(rbox, scrl_btn); 306 efl_pack_end(rbox, scrl_btn);
307 307
308 scrl_btn = efl_add(EFL_UI_BUTTON_CLASS, rbox); 308 scrl_btn = efl_add(EFL_UI_BUTTON_CLASS, rbox);
309 efl_text_set(scrl_btn, "Scroll Item Align"); 309 efl_text_set(scrl_btn, "Scroll Item Align");
310 efl_gfx_hint_align_set(scrl_btn, 0.5, 0.5); 310 efl_gfx_hint_align_set(scrl_btn, 0.5, 0.5);
311 efl_gfx_hint_size_min_set(scrl_btn, EINA_SIZE2D(200, 25)); 311 efl_gfx_hint_size_min_set(scrl_btn, EINA_SIZE2D(200, 25));
312 efl_event_callback_add(scrl_btn, EFL_UI_EVENT_CLICKED, _scrl_align_btn_clicked, NULL); 312 efl_event_callback_add(scrl_btn, EFL_INPUT_EVENT_CLICKED, _scrl_align_btn_clicked, NULL);
313 efl_pack_end(rbox, scrl_btn); 313 efl_pack_end(rbox, scrl_btn);
314 314
315 efl_pack_end(bbox, rbox); 315 efl_pack_end(bbox, rbox);