From e2724b300d55738b043d5779f4f0be465c8ee55e Mon Sep 17 00:00:00 2001 From: Amitesh Singh Date: Sat, 19 Aug 2017 16:32:08 +0900 Subject: [PATCH] elm segment control: delete event cbs on obj delete. @fix --- src/lib/elementary/elm_segment_control.c | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.7.4