calc: enable history again

SVN revision: 49304
This commit is contained in:
Hannes Janetzek 2010-05-29 17:18:17 +00:00
parent 6c2d69f724
commit 6a4d5b1712
1 changed files with 9 additions and 9 deletions

View File

@ -77,18 +77,18 @@ _cleanup(Evry_Plugin *p)
{ {
Ecore_Event_Handler *h; Ecore_Event_Handler *h;
Evry_Item *it; Evry_Item *it;
/* int items = 10; */ int items = 10;
/* if (p->items) if (p->items)
* { {
* EVRY_ITEM_FREE(p->items->data); EVRY_ITEM_FREE(p->items->data);
* p->items = eina_list_remove_list(p->items, p->items); p->items = eina_list_remove_list(p->items, p->items);
* } */ }
EINA_LIST_FREE(p->items, it) EINA_LIST_FREE(p->items, it)
{ {
/* if (items-- > 1) if (items-- > 1)
* history = eina_list_prepend(history, eina_stringshare_add(it->label)); */ history = eina_list_prepend(history, eina_stringshare_add(it->label));
EVRY_ITEM_FREE(it); EVRY_ITEM_FREE(it);
} }