summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-02-03 18:06:30 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-02-03 18:06:30 +0100
commite2082cf442db258862787a10007f86b0a07cf976 (patch)
tree2d9f0b6c3e5a359226795e44854acd3646e9265f
parent2db97a9bc21d24f2ada5d0423c9d9f104bfd97b6 (diff)
downloadefl-devs/bu5hm4n/example.tar.gz
-rw-r--r--src/examples/elementary/homescreen/homescreen.c3
-rw-r--r--src/lib/elementary/efl_ui_spotlight_icon_indicator.c2
2 files changed, 1 insertions, 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",