forked from enlightenment/enlightenment
freeze/thaw the ilist in ilist_clear, it speed things up on ilist delete
SVN revision: 29926
This commit is contained in:
parent
fcccf352fd
commit
fa957c3166
|
@ -95,6 +95,7 @@ EAPI void
|
|||
e_ilist_clear(Evas_Object *obj)
|
||||
{
|
||||
API_ENTRY return;
|
||||
e_ilist_freeze(obj);
|
||||
while (sd->items)
|
||||
{
|
||||
E_Ilist_Item *si;
|
||||
|
@ -105,6 +106,7 @@ e_ilist_clear(Evas_Object *obj)
|
|||
evas_object_del(si->o_base);
|
||||
E_FREE(si);
|
||||
}
|
||||
e_ilist_thaw(obj);
|
||||
sd->selected = -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue