evas - use Eina_Bool

This commit is contained in:
ChunEon Park 2013-07-11 14:00:18 +09:00
parent 1e9a56d361
commit 898caee04d
1 changed files with 4 additions and 4 deletions

View File

@ -192,7 +192,7 @@ _destructor(Eo *eo_e, void *_pd, va_list *list EINA_UNUSED)
Evas_Layer *lay; Evas_Layer *lay;
Evas_Out *evo; Evas_Out *evo;
int i; int i;
int del; Eina_Bool del;
if (e->walking_list == 0) evas_render_idle_flush(eo_e); if (e->walking_list == 0) evas_render_idle_flush(eo_e);
@ -201,12 +201,12 @@ _destructor(Eo *eo_e, void *_pd, va_list *list EINA_UNUSED)
_evas_post_event_callback_free(eo_e); _evas_post_event_callback_free(eo_e);
del = 1; del = EINA_TRUE;
e->walking_list++; e->walking_list++;
e->cleanup = 1; e->cleanup = 1;
while (del) while (del)
{ {
del = 0; del = EINA_FALSE;
EINA_INLIST_FOREACH(e->layers, lay) EINA_INLIST_FOREACH(e->layers, lay)
{ {
Evas_Object_Protected_Data *o; Evas_Object_Protected_Data *o;
@ -216,7 +216,7 @@ _destructor(Eo *eo_e, void *_pd, va_list *list EINA_UNUSED)
EINA_INLIST_FOREACH(lay->objects, o) EINA_INLIST_FOREACH(lay->objects, o)
{ {
if (!o->delete_me) if (!o->delete_me)
del = 1; del = EINA_TRUE;
} }
} }
} }