cedric pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=7f3a9bf3c0eeaedcaf27dedf690da4533a9e96a8
commit 7f3a9bf3c0eeaedcaf27dedf690da4533a9e96a8 Author: Cedric BAIL <ced...@osg.samsung.com> Date: Tue Feb 2 11:39:10 2016 -0800 panel: no need for destructor anymore as the event handler will disappear in the destructor. --- src/lib/elm_panel.c | 9 --------- src/lib/elm_panel.eo | 1 - 2 files changed, 10 deletions(-) diff --git a/src/lib/elm_panel.c b/src/lib/elm_panel.c index 17ed000..036df74 100644 --- a/src/lib/elm_panel.c +++ b/src/lib/elm_panel.c @@ -1186,15 +1186,6 @@ _elm_panel_eo_base_constructor(Eo *obj, Elm_Panel_Data *_pd EINA_UNUSED) } EOLIAN static void -_elm_panel_eo_base_destructor(Eo *obj, Elm_Panel_Data *_pd EINA_UNUSED) -{ - eo_do(obj, - eo_event_callback_del(EFL_CORE_ANIMATOR_EVENT_ANIMATOR_TICK, _elm_panel_anim_cb, obj)); - - eo_do_super(obj, MY_CLASS, eo_destructor()); -} - -EOLIAN static void _elm_panel_orient_set(Eo *obj, Elm_Panel_Data *sd, Elm_Panel_Orient orient) { if (sd->orient == orient) return; diff --git a/src/lib/elm_panel.eo b/src/lib/elm_panel.eo index ffaca51..667834c 100644 --- a/src/lib/elm_panel.eo +++ b/src/lib/elm_panel.eo @@ -67,7 +67,6 @@ class Elm.Panel (Elm.Layout, Elm_Interface_Scrollable, implements { class.constructor; Eo.Base.constructor; - Eo.Base.destructor; Evas.Object_Smart.add; Evas.Object_Smart.member_add; Evas.Object_Smart.del; --