forked from enlightenment/efl
evas: Use Eina_Bool
Summary: Use EINA_TRUE/EINA_FALSE instead of 1, 0 Reviewers: raster, cedric, Hermet Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1633
This commit is contained in:
parent
bbff7ed8f1
commit
e96576cbc3
|
@ -1579,7 +1579,7 @@ _evas_image_pixels_import(Eo *eo_obj, Evas_Image_Data *o, Evas_Pixel_Import_Sour
|
||||||
Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS);
|
Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS);
|
||||||
|
|
||||||
_evas_object_image_cleanup(eo_obj, obj, o);
|
_evas_object_image_cleanup(eo_obj, obj, o);
|
||||||
if ((pixels->w != o->cur->image.w) || (pixels->h != o->cur->image.h)) return 0;
|
if ((pixels->w != o->cur->image.w) || (pixels->h != o->cur->image.h)) return EINA_FALSE;
|
||||||
|
|
||||||
switch (pixels->format)
|
switch (pixels->format)
|
||||||
{
|
{
|
||||||
|
@ -1636,10 +1636,10 @@ _evas_image_pixels_import(Eo *eo_obj, Evas_Image_Data *o, Evas_Pixel_Import_Sour
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return 0;
|
return EINA_FALSE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return 1;
|
return EINA_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
EOLIAN static void
|
EOLIAN static void
|
||||||
|
|
Loading…
Reference in New Issue