summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-08-20 13:14:00 -0400
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-08-23 07:33:49 +0200
commit9d8735caf7274d2b731100d395535165f9731846 (patch)
tree1bcd4fec09bf1a1f4da6447180dabb822df72b95 /src/tests
parent1a517b4c2db78cf9666f3ffbb10ebb7903654308 (diff)
efl_ui/popup: remove scroll_alert class
this can now be done by simply calling efl_ui_widget_scrollable_content_set on an alert popup tests have been adjusted for this Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9675
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/elementary/efl_ui_test_popup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/elementary/efl_ui_test_popup.c b/src/tests/elementary/efl_ui_test_popup.c
index a71e04c3c5..da0fee2a89 100644
--- a/src/tests/elementary/efl_ui_test_popup.c
+++ b/src/tests/elementary/efl_ui_test_popup.c
@@ -47,14 +47,14 @@ static Eina_Size2D
47_popup_scroll_alert_setup(Eo **popup_ret, Eo **layout_ret) 47_popup_scroll_alert_setup(Eo **popup_ret, Eo **layout_ret)
48{ 48{
49 Eina_Size2D layout_sz_min; 49 Eina_Size2D layout_sz_min;
50 Eo *popup = *popup_ret = _popup_alert_setup(EFL_UI_SCROLL_ALERT_POPUP_CLASS); 50 Eo *popup = *popup_ret = _popup_alert_setup(EFL_UI_ALERT_POPUP_CLASS);
51 Eo *layout = *layout_ret = _popup_layout_create(popup); 51 Eo *layout = *layout_ret = _popup_layout_create(popup);
52 52
53 /* should be 200x200 */ 53 /* should be 200x200 */
54 layout_sz_min = efl_gfx_hint_size_combined_min_get(layout); 54 layout_sz_min = efl_gfx_hint_size_combined_min_get(layout);
55 efl_gfx_entity_size_set(layout, layout_sz_min); 55 efl_gfx_entity_size_set(layout, layout_sz_min);
56 56
57 efl_content_set(popup, layout); 57 efl_ui_widget_scrollable_content_set(popup, layout);
58 return layout_sz_min; 58 return layout_sz_min;
59} 59}
60 60