summaryrefslogtreecommitdiff
path: root/src/lib/elementary
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-26 13:17:07 +0200
commit6e92042845d69757782a97aaed2791ca5c1c3030 (patch)
tree5555988c18c1a70bb5513ae9924c5eb7b5af3c6a /src/lib/elementary
parenta7b1329b0efb6997808708fb9a3cdbe4a867ba39 (diff)
Ui Scroller : remove unnecessary efl_del
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.
Diffstat (limited to 'src/lib/elementary')
-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 9d652daf88..8ad0466f08 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,
454 _efl_ui_scroller_pan_resized_cb, obj); 454 _efl_ui_scroller_pan_resized_cb, obj);
455 efl_del(sd->pan_obj); 455 efl_del(sd->pan_obj);
456 sd->pan_obj = NULL; 456 sd->pan_obj = NULL;
457 efl_del(sd->smanager);
458 sd->smanager = NULL; 457 sd->smanager = NULL;
459 458
460 efl_destructor(efl_super(obj, MY_CLASS)); 459 efl_destructor(efl_super(obj, MY_CLASS));