elementary/naviframe - free the text parts when it's item is deleted.x
SVN revision: 79633
This commit is contained in:
parent
96f3ede314
commit
65ce400db9
|
@ -709,3 +709,7 @@
|
|||
2012-11-22 Thiep Ha
|
||||
|
||||
* Fixed entry to enable have_selection only when a text is actually selected.
|
||||
|
||||
2012-11-23 ChunEon Park (Hermet)
|
||||
|
||||
* Free the text parts of the naviframe item when item is deleted.
|
||||
|
|
|
@ -63,6 +63,7 @@ Fixes:
|
|||
* Fix the naviframe to delete contents which are preserved_on set if the naviframe is deleted.
|
||||
* Fix the naviframe to clear the title contents when it's item is deleted.
|
||||
* Fix entry to enable have_selection only when a text is actually selected.
|
||||
* Fix the naviframe to clear the text parts when it's item is deleted.
|
||||
|
||||
Removals:
|
||||
|
||||
|
|
|
@ -91,6 +91,7 @@ _item_free(Elm_Naviframe_Item *it)
|
|||
{
|
||||
Eina_Inlist *l;
|
||||
Elm_Naviframe_Content_Item_Pair *content_pair;
|
||||
Elm_Naviframe_Text_Item_Pair *text_pair;
|
||||
Evas_Object *title_content;
|
||||
|
||||
ELM_NAVIFRAME_DATA_GET(WIDGET(it), sd);
|
||||
|
@ -118,6 +119,11 @@ _item_free(Elm_Naviframe_Item *it)
|
|||
eina_stringshare_del(content_pair->part);
|
||||
free(content_pair);
|
||||
}
|
||||
EINA_INLIST_FOREACH_SAFE(it->text_list, l, text_pair)
|
||||
{
|
||||
eina_stringshare_del(text_pair->part);
|
||||
free(text_pair);
|
||||
}
|
||||
|
||||
if (it->content)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue