summaryrefslogtreecommitdiff
path: root/reference/c/ui/src/ui_container.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-03-02 10:38:07 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-03-02 10:38:07 -0500
commitd16b7e48bc8a4a8d9cfc3cac2ab574a0c374f401 (patch)
treed9fd47a424e6318e018066dab49a94f64bb9438f /reference/c/ui/src/ui_container.c
parent780ebf91c5f86c5cb9ce8ad997fc561ab4a3ea97 (diff)
fix examples build for latest efl
Diffstat (limited to 'reference/c/ui/src/ui_container.c')
-rw-r--r--reference/c/ui/src/ui_container.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/reference/c/ui/src/ui_container.c b/reference/c/ui/src/ui_container.c
index 21156579..3775b5f2 100644
--- a/reference/c/ui/src/ui_container.c
+++ b/reference/c/ui/src/ui_container.c
@@ -71,7 +71,7 @@ _ui_boxes_setup(Efl_Ui_Win *win)
71 efl_pack(box, efl_added)); 71 efl_pack(box, efl_added));
72 72
73 if (i == 2) 73 if (i == 2)
74 efl_gfx_size_hint_max_set(button, EINA_SIZE2D(100, 50)); 74 efl_gfx_hint_size_max_set(button, EINA_SIZE2D(100, 50));
75 } 75 }
76 76
77 return box; 77 return box;
@@ -96,7 +96,7 @@ _ui_panes_setup(Efl_Ui_Win *win)
96 96
97 efl_add(EFL_UI_BUTTON_CLASS, win, 97 efl_add(EFL_UI_BUTTON_CLASS, win,
98 efl_text_set(efl_added, "Quit"), 98 efl_text_set(efl_added, "Quit"),
99 efl_gfx_size_hint_max_set(efl_added, EINA_SIZE2D(150, 30)), 99 efl_gfx_hint_size_max_set(efl_added, EINA_SIZE2D(150, 30)),
100 efl_content_set(efl_part(horiz_split, "second"), efl_added), 100 efl_content_set(efl_part(horiz_split, "second"), efl_added),
101 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, 101 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED,
102 _gui_quit_cb, efl_added)); 102 _gui_quit_cb, efl_added));