summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-07-12 19:33:31 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-07-25 20:42:39 +0200
commit2a970046bc6355af59e0b4c0f7d44e0b44d764bb (patch)
tree6490f174c52aef971c7223ddc5e0db1949986e03 /src/bin
parent6d0b0baf9bec36a364224eb6e6c5d53adc4f2adf (diff)
efl_ui_spotlight_container: mirror the behavior of view_manager
setting the parent here is usefull, as we can forgot about this object then, and do not have to free the object by hand. Differential Revision: https://phab.enlightenment.org/D9305
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/elementary/test_ui_spotlight.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/elementary/test_ui_spotlight.c b/src/bin/elementary/test_ui_spotlight.c
index bcb6fbbd3e..ff0cbdd6f5 100644
--- a/src/bin/elementary/test_ui_spotlight.c
+++ b/src/bin/elementary/test_ui_spotlight.c
@@ -347,7 +347,7 @@ indicator_icon_btn_cb(void *data, const Efl_Event *ev EINA_UNUSED)
347{ 347{
348 Params *params = data; 348 Params *params = data;
349 349
350 params->indicator = efl_add(EFL_UI_SPOTLIGHT_INDICATOR_ICON_CLASS, params->spotlight); 350 params->indicator = efl_new(EFL_UI_SPOTLIGHT_INDICATOR_ICON_CLASS);
351 efl_ui_spotlight_indicator_set(params->spotlight, params->indicator); 351 efl_ui_spotlight_indicator_set(params->spotlight, params->indicator);
352} 352}
353 353