summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_win_indicator.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-09-20 14:57:09 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-09-24 16:00:44 +0200
commit594fc084427a5c090bff02782015c070416f5c2c (patch)
tree70f4681ac33606d8b880ecb235f64918cf3c408e /src/bin/elementary/test_win_indicator.c
parent5493cc539678739471d5c6444a36dc5fdc3866a8 (diff)
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 '')
-rw-r--r--src/bin/elementary/test_win_indicator.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/elementary/test_win_indicator.c b/src/bin/elementary/test_win_indicator.c
index aa9606f..98ba2e2 100644
--- a/src/bin/elementary/test_win_indicator.c
+++ b/src/bin/elementary/test_win_indicator.c
@@ -93,8 +93,7 @@ test_win_indicator(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *e
93 93
94 // FIXME: Resizing window should no cause sizing issues! 94 // FIXME: Resizing window should no cause sizing issues!
95 win = efl_add_ref(EFL_UI_WIN_CLASS, NULL, 95 win = efl_add_ref(EFL_UI_WIN_CLASS, NULL,
96 efl_ui_win_type_set(efl_added, EFL_UI_WIN_TYPE_BASIC), 96 efl_text_set(efl_added, "Efl.Win.Indicator"),
97 efl_text_set(efl_added, "Efl.Win.Indicator"),
98 efl_gfx_hint_size_max_set(efl_added, EINA_SIZE2D(300, -1)), 97 efl_gfx_hint_size_max_set(efl_added, EINA_SIZE2D(300, -1)),
99 efl_ui_win_autodel_set(efl_added, EINA_TRUE)); 98 efl_ui_win_autodel_set(efl_added, EINA_TRUE));
100 efl_event_callback_add(win, EFL_EVENT_DEL, _win_del, indicator); 99 efl_event_callback_add(win, EFL_EVENT_DEL, _win_del, indicator);