diff options
author | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2019-09-20 14:57:09 +0200 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2019-09-24 16:00:44 +0200 |
commit | 594fc084427a5c090bff02782015c070416f5c2c (patch) | |
tree | 70f4681ac33606d8b880ecb235f64918cf3c408e /src/bin/elementary/test_ui_spin_button.c | |
parent | 5493cc539678739471d5c6444a36dc5fdc3866a8 (diff) | |
download | efl-594fc084427a5c090bff02782015c070416f5c2c.tar.gz |
efl_ui_win: default the window type to basic
normally when you create a window, you just want to have it beeing a
basic window. If not you still can set the window type.
ref T8229
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D10049
Diffstat (limited to 'src/bin/elementary/test_ui_spin_button.c')
-rw-r--r-- | src/bin/elementary/test_ui_spin_button.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/elementary/test_ui_spin_button.c b/src/bin/elementary/test_ui_spin_button.c index d6b9a96061..600611eb45 100644 --- a/src/bin/elementary/test_ui_spin_button.c +++ b/src/bin/elementary/test_ui_spin_button.c @@ -29,8 +29,7 @@ test_ui_spin_button(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void * }; win = efl_add_ref(EFL_UI_WIN_CLASS, NULL, - efl_ui_win_type_set(efl_added, EFL_UI_WIN_TYPE_BASIC), - efl_text_set(efl_added, "Efl.Ui.Spin_Button"), + efl_text_set(efl_added, "Efl.Ui.Spin_Button"), efl_ui_win_autodel_set(efl_added, EINA_TRUE)); bx = efl_add(EFL_UI_BOX_CLASS, win, |