From c5dc774fc564539f0d8b5791b2ed4925162706cf Mon Sep 17 00:00:00 2001 From: Xavi Artigas Date: Thu, 20 Feb 2020 09:59:29 +0100 Subject: [PATCH] Efl.Ui.Spotlight: Fix indicator initialization This caused incorrectly-centered indicator icons in the homescreen example. --- src/lib/elementary/efl_ui_spotlight_icon_indicator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",