elm_conform: remove smart_callback when it is removed.
The owner of the smart_callbacks is window. so even if the conformant is deleted, they aren't removed. It can make some problems. @fix
This commit is contained in:
parent
ff60b8b340
commit
e46a2dd3c5
|
@ -905,6 +905,11 @@ _elm_conformant_evas_object_smart_del(Eo *obj, Elm_Conformant_Data *sd)
|
|||
|
||||
evas_object_data_set(sd->win, "\377 elm,conformant", NULL);
|
||||
|
||||
evas_object_smart_callback_del_full
|
||||
(sd->win, "indicator,prop,changed", _on_indicator_mode_changed, obj);
|
||||
evas_object_smart_callback_del_full
|
||||
(sd->win, "rotation,changed", _on_rotation_changed, obj);
|
||||
|
||||
eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue