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
|
static void
|
||||||
_ecore_evas_buffer_free(Ecore_Evas *ee)
|
_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)
|
if (ee->engine.buffer.image)
|
||||||
{
|
{
|
||||||
Ecore_Evas *ee2;
|
Ecore_Evas *ee2;
|
||||||
|
@ -40,7 +38,12 @@ _ecore_evas_buffer_free(Ecore_Evas *ee)
|
||||||
ee2->sub_ecore_evas = eina_list_remove(ee2->sub_ecore_evas, ee);
|
ee2->sub_ecore_evas = eina_list_remove(ee2->sub_ecore_evas, ee);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
free(ee->engine.buffer.pixels);
|
{
|
||||||
|
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
|
static void
|
||||||
|
|
Loading…
Reference in New Issue