summaryrefslogtreecommitdiff
path: root/reference/c/ui
diff options
context:
space:
mode:
authorBruno da Silva Belo <brunodasilvabelo@gmail.com>2019-08-16 15:30:41 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2019-08-16 15:31:38 -0300
commitfa93b9f7c0c7f78d4c842cf2ac7758b0d3c2874b (patch)
treeabceb4fe43ad74a31ff7cdd39d8c31073a99f889 /reference/c/ui
parente8245fe5dd645a1f5e8049a693194b94d95c12a7 (diff)
Fixing compiles errors from examples, c and c#.
Summary: Change from efl broke the compilation of examples, updating names to the new changes. Reviewers: lauromoura, felipealmeida Reviewed By: lauromoura Differential Revision: https://phab.enlightenment.org/D9581
Diffstat (limited to 'reference/c/ui')
-rw-r--r--reference/c/ui/src/focus_main.c4
-rw-r--r--reference/c/ui/src/ui_container.c2
-rw-r--r--reference/c/ui/src/ui_translation.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/reference/c/ui/src/focus_main.c b/reference/c/ui/src/focus_main.c
index d58e62be..5bd14dde 100644
--- a/reference/c/ui/src/focus_main.c
+++ b/reference/c/ui/src/focus_main.c
@@ -58,7 +58,7 @@ _gui_setup()
58 efl_pack(hbox, efl_added), 58 efl_pack(hbox, efl_added),
59 efl_event_callback_add(efl_added, EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_CHANGED, 59 efl_event_callback_add(efl_added, EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_CHANGED,
60 _focus_changed, NULL), 60 _focus_changed, NULL),
61 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, 61 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED,
62 _gui_about_clicked_cb, efl_added)); 62 _gui_about_clicked_cb, efl_added));
63 63
64 efl_add(EFL_UI_BUTTON_CLASS, hbox, 64 efl_add(EFL_UI_BUTTON_CLASS, hbox,
@@ -66,7 +66,7 @@ _gui_setup()
66 efl_pack(hbox, efl_added), 66 efl_pack(hbox, efl_added),
67 efl_event_callback_add(efl_added, EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_CHANGED, 67 efl_event_callback_add(efl_added, EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_CHANGED,
68 _focus_changed, NULL), 68 _focus_changed, NULL),
69 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, 69 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED,
70 _gui_quit_clicked_cb, efl_added)); 70 _gui_quit_clicked_cb, efl_added));
71 71
72 efl_ui_focus_util_focus(about); 72 efl_ui_focus_util_focus(about);
diff --git a/reference/c/ui/src/ui_container.c b/reference/c/ui/src/ui_container.c
index 1eb7254b..166a458a 100644
--- a/reference/c/ui/src/ui_container.c
+++ b/reference/c/ui/src/ui_container.c
@@ -97,7 +97,7 @@ _ui_panes_setup(Efl_Ui_Win *win)
97 efl_text_set(efl_added, "Quit"), 97 efl_text_set(efl_added, "Quit"),
98 efl_gfx_hint_size_max_set(efl_added, EINA_SIZE2D(150, 30)), 98 efl_gfx_hint_size_max_set(efl_added, EINA_SIZE2D(150, 30)),
99 efl_content_set(efl_part(horiz_split, "second"), efl_added), 99 efl_content_set(efl_part(horiz_split, "second"), efl_added),
100 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, 100 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED,
101 _gui_quit_cb, efl_added)); 101 _gui_quit_cb, efl_added));
102} 102}
103 103
diff --git a/reference/c/ui/src/ui_translation.c b/reference/c/ui/src/ui_translation.c
index a576ac68..33e8041d 100644
--- a/reference/c/ui/src/ui_translation.c
+++ b/reference/c/ui/src/ui_translation.c
@@ -55,7 +55,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
55 efl_ui_l10n_text_set(efl_added, "Quit", _TEXT_DOMAIN), 55 efl_ui_l10n_text_set(efl_added, "Quit", _TEXT_DOMAIN),
56 efl_pack_end(box, efl_added), 56 efl_pack_end(box, efl_added),
57 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(100, 100)), 57 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(100, 100)),
58 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, 58 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED,
59 _gui_quit_cb, efl_added)); 59 _gui_quit_cb, efl_added));
60 60
61 efl_gfx_entity_size_set(win, EINA_SIZE2D(320, 320)); 61 efl_gfx_entity_size_set(win, EINA_SIZE2D(320, 320));