From: Amitesh Singh Date: Sat, 19 Aug 2017 07:32:08 +0000 (+0900) Subject: elm segment control: delete event cbs on obj delete. X-Git-Tag: submit/sandbox/upgrade/efl120/20180319.053334~3091 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e2724b300d55738b043d5779f4f0be465c8ee55e;p=platform%2Fupstream%2Fefl.git elm segment control: delete event cbs on obj delete. @fix --- diff --git a/src/lib/elementary/elm_segment_control.c b/src/lib/elementary/elm_segment_control.c index 704a8b7..857b84a 100644 --- a/src/lib/elementary/elm_segment_control.c +++ b/src/lib/elementary/elm_segment_control.c @@ -633,6 +633,10 @@ _elm_segment_control_efl_canvas_group_group_del(Eo *obj, Elm_Segment_Control_Dat { Elm_Object_Item *eo_it; + evas_object_event_callback_del_full(obj, EVAS_CALLBACK_RESIZE, + _on_move_resize, obj); + evas_object_event_callback_del_full(obj, EVAS_CALLBACK_MOVE, + _on_move_resize, obj); EINA_LIST_FREE(sd->items, eo_it) { efl_del(eo_it);