evas/events - use Eina_Bool

SVN revision: 78314
This commit is contained in:
ChunEon Park 2012-10-22 05:02:53 +00:00
parent 916f9ce50c
commit 533cb57962
3 changed files with 12 additions and 5 deletions

View File

@ -696,7 +696,9 @@ _position_set(Eo *eo_obj, void *_pd, va_list *list)
Evas_Coord y = va_arg(*list, Evas_Coord);
Evas_Public_Data *evas;
int is, was = 0, pass = 0, freeze = 0, source_invisible = 0;
Eina_Bool is, was = EINA_FALSE;
Eina_Bool pass = EINA_FALSE, freeze = EINA_FALSE;
Eina_Bool source_invisible = EINA_FALSE;
int nx = 0, ny = 0;
if (obj->delete_me) return;
@ -790,8 +792,9 @@ _size_set(Eo *eo_obj, void *_pd, va_list *list)
Evas_Coord w = va_arg(*list, Evas_Coord);
Evas_Coord h = va_arg(*list, Evas_Coord);
int is, was = 0, pass = 0, freeze = 0, source_invisible = 0;
Eina_Bool is, was = EINA_FALSE;
Eina_Bool pass = EINA_FALSE, freeze = EINA_FALSE;
Eina_Bool source_invisible = EINA_FALSE;
if (obj->delete_me) return;
if (w < 0) w = 0; if (h < 0) h = 0;

View File

@ -346,7 +346,9 @@ static void
_text_font_set(Eo *eo_obj, void *_pd, va_list *list)
{
Evas_Object_Text *o = _pd;
int is, was = 0, pass = 0, freeze = 0, source_invisible = 0;
Eina_Bool is, was = EINA_FALSE;
Eina_Bool pass = EINA_FALSE, freeze = EINA_FALSE;
Eina_Bool source_invisible = EINA_FALSE;
Evas_Font_Description *fdesc;
const char *font = va_arg(*list, const char*);

View File

@ -1078,7 +1078,9 @@ _font_set(Eo *eo_obj, void *_pd, va_list *list)
Evas_Object_Protected_Data *obj = eo_data_get(eo_obj, EVAS_OBJ_CLASS);
const char *font_name = va_arg(*list, const char *);
Evas_Font_Size font_size = va_arg(*list, Evas_Font_Size);
int is, was = 0, pass = 0, freeze = 0, source_invisible = 0;
Eina_Bool is, was = EINA_FALSE;
Eina_Bool pass = EINA_FALSE, freeze = EINA_FALSE;
Eina_Bool source_invisible = EINA_FALSE;
Evas_Font_Description *font_description;
if ((!font_name) || (!*font_name) || (font_size <= 0))