forked from enlightenment/efl
do not remove sub-evases from ecore_evases list.
they are not there, they're listed inside sub_ecore_evas of parent instead. SVN revision: 41368
This commit is contained in:
parent
6ca987941f
commit
00d15b298a
|
@ -29,8 +29,6 @@ _ecore_evas_buffer_init(void)
|
|||
static void
|
||||
_ecore_evas_buffer_free(Ecore_Evas *ee)
|
||||
{
|
||||
ecore_evases = (Ecore_Evas *) eina_inlist_remove(EINA_INLIST_GET(ecore_evases), EINA_INLIST_GET(ee));
|
||||
_ecore_evas_buffer_shutdown();
|
||||
if (ee->engine.buffer.image)
|
||||
{
|
||||
Ecore_Evas *ee2;
|
||||
|
@ -40,8 +38,13 @@ _ecore_evas_buffer_free(Ecore_Evas *ee)
|
|||
ee2->sub_ecore_evas = eina_list_remove(ee2->sub_ecore_evas, ee);
|
||||
}
|
||||
else
|
||||
{
|
||||
ecore_evases = (Ecore_Evas *) eina_inlist_remove(EINA_INLIST_GET(ecore_evases), EINA_INLIST_GET(ee));
|
||||
|
||||
free(ee->engine.buffer.pixels);
|
||||
}
|
||||
_ecore_evas_buffer_shutdown();
|
||||
}
|
||||
|
||||
static void
|
||||
_ecore_evas_resize(Ecore_Evas *ee, int w, int h)
|
||||
|
|
Loading…
Reference in New Issue