aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Hirt <hirt.danny@gmail.com>2018-11-15 10:55:46 +0200
committerDaniel Hirt <hirt.danny@gmail.com>2018-11-15 11:00:14 +0200
commit94bc37e874a397553beb39f75f9227818930d4b6 (patch)
tree618fb606a27cbcbe844e1547e5527fb9ccb1600b
parentScroll manager: remove unnecessary callback_del (diff)
downloadefl-devs/herdsman/text/ui_text_theme.tar.gz
Ui Scroller : remove unnecessary efl_deldevs/herdsman/text/ui_text_theme
Child objects are already destoryed during destruction of the parent object. This fixes ERR messages when doing `efl_del(sd->smanager)` object, which is already destroyed at that point.
-rw-r--r--src/lib/elementary/efl_ui_scroller.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_scroller.c b/src/lib/elementary/efl_ui_scroller.c
index 6f42bbb913..617dd0f712 100644
--- a/src/lib/elementary/efl_ui_scroller.c
+++ b/src/lib/elementary/efl_ui_scroller.c
@@ -454,7 +454,6 @@ _efl_ui_scroller_efl_object_destructor(Eo *obj,
_efl_ui_scroller_pan_resized_cb, obj);
efl_del(sd->pan_obj);
sd->pan_obj = NULL;
- efl_del(sd->smanager);
sd->smanager = NULL;
efl_destructor(efl_super(obj, MY_CLASS));