summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHosang Kim <hosang12.kim@samsung.com>2019-12-19 06:14:15 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-12-19 10:24:21 +0100
commited7fb7ae27a1a6c1b758f8a415e1976d95a45e4b (patch)
tree0825c7acee88b017b4df646a7523338f0aa5a3f1
parent1d49102bbe6e59969dd0beb9d89106802e3f365a (diff)
scroller: add missing efl_content_unset
When efl_content_unset(scroller) is called, efl_content_unset for Efl.Ui.Pan class should be called also. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10906
-rw-r--r--src/lib/elementary/efl_ui_scroller.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_scroller.c b/src/lib/elementary/efl_ui_scroller.c
index 5b0eca2fa5..9b4140c10c 100644
--- a/src/lib/elementary/efl_ui_scroller.c
+++ b/src/lib/elementary/efl_ui_scroller.c
@@ -200,6 +200,7 @@ _efl_ui_scroller_efl_content_content_unset(Eo *obj EINA_UNUSED, Efl_Ui_Scroller_
200{ 200{
201 Efl_Gfx_Entity *old_content = pd->content; 201 Efl_Gfx_Entity *old_content = pd->content;
202 202
203 efl_content_unset(pd->pan_obj);
203 efl_event_callback_del(pd->content, EFL_EVENT_INVALIDATE, _efl_ui_scroller_content_del_cb, obj); 204 efl_event_callback_del(pd->content, EFL_EVENT_INVALIDATE, _efl_ui_scroller_content_del_cb, obj);
204 pd->content = NULL; 205 pd->content = NULL;
205 efl_event_callback_call(obj, EFL_CONTENT_EVENT_CONTENT_CHANGED, NULL); 206 efl_event_callback_call(obj, EFL_CONTENT_EVENT_CONTENT_CHANGED, NULL);