[elementary/elm_layout] When elm_layout(or a widget inherits elm_layout) is deleted,

it doesn't need to call _smart_sizing_eval in itself.
Currently, _smart_sizing_eval is called by _elm_layout_smart_sub_object_del when elm_layout is deleted.
I think this is called unnecessarily.


SVN revision: 79540
This commit is contained in:
WooHyun Jung 2012-11-22 14:46:45 +00:00
parent cfa6a0ae75
commit 5a4de3b062
1 changed files with 2 additions and 0 deletions

View File

@ -1215,6 +1215,8 @@ _elm_layout_smart_del(Evas_Object *obj)
ELM_LAYOUT_DATA_GET(obj, sd);
elm_layout_freeze(obj);
EINA_LIST_FREE (sd->subs, sub_d)
{
eina_stringshare_del(sub_d->part);