summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2020-02-20 09:59:29 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2020-02-20 09:59:29 +0100
commitc5dc774fc564539f0d8b5791b2ed4925162706cf (patch)
treec688d87feda5dd72d37e7991548a32ffe75feb11
parent7da106ec681195a5538cfcf0da2cf4805173c23e (diff)
downloadefl-c5dc774fc564539f0d8b5791b2ed4925162706cf.tar.gz
Efl.Ui.Spotlight: Fix indicator initialization
This caused incorrectly-centered indicator icons in the homescreen example.
-rw-r--r--src/lib/elementary/efl_ui_spotlight_icon_indicator.c2
1 files changed, 1 insertions, 1 deletions
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",