From e2082cf442db258862787a10007f86b0a07cf976 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Mon, 3 Feb 2020 18:06:30 +0100 Subject: [PATCH] asdf --- src/examples/elementary/homescreen/homescreen.c | 3 --- src/lib/elementary/efl_ui_spotlight_icon_indicator.c | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/examples/elementary/homescreen/homescreen.c b/src/examples/elementary/homescreen/homescreen.c index f9369c66f9..7b5eab30cd 100644 --- a/src/examples/elementary/homescreen/homescreen.c +++ b/src/examples/elementary/homescreen/homescreen.c @@ -173,9 +173,6 @@ _home_screen_cb(void *data, const Efl_Event *cb) Efl_Canvas_Rectangle *rect; rect = efl_add(EFL_CANVAS_RECTANGLE_CLASS, compositor); - efl_gfx_entity_size_set(rect, EINA_SIZE2D(720*SCALE+15, 1280*SCALE)); - efl_gfx_entity_position_set(rect, EINA_POSITION2D(0, 1280*SCALE)); - efl_ui_spotlight_push(compositor, rect); } diff --git a/src/lib/elementary/efl_ui_spotlight_icon_indicator.c b/src/lib/elementary/efl_ui_spotlight_icon_indicator.c index 731a9a9429..a4aa12ce25 100644 --- a/src/lib/elementary/efl_ui_spotlight_icon_indicator.c +++ b/src/lib/elementary/efl_ui_spotlight_icon_indicator.c @@ -96,8 +96,8 @@ _efl_ui_spotlight_icon_indicator_efl_ui_spotlight_indicator_bind(Eo *obj, Efl_Ui if (spotlight) { pd->container = spotlight; - efl_event_callback_array_add(pd->container, spotlight_resized(), pd->layout); pd->layout = efl_add(EFL_CANVAS_LAYOUT_CLASS, pd->container); + efl_event_callback_array_add(pd->container, spotlight_resized(), pd->layout); if (elm_widget_theme_object_set(pd->container, pd->layout, "spotlight",