summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTae-Hwan Kim <the81.kim@samsung.com>2014-11-03 20:27:56 +0900
committerChunEon Park <hermet@hermet.pe.kr>2014-11-03 20:27:56 +0900
commite96576cbc398144237ceb63678eb05ccc1e7e5f7 (patch)
tree0bfff70ee36cc60c344f8168da98dda2fa6ac36b
parentbbff7ed8f1b76bc4f5b5d0a91e300a9cd1e0cbe5 (diff)
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
-rw-r--r--src/lib/evas/canvas/evas_object_image.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c
index 05e5fb8e55..fb0fc3e09d 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -1579,7 +1579,7 @@ _evas_image_pixels_import(Eo *eo_obj, Evas_Image_Data *o, Evas_Pixel_Import_Sour
1579 Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS); 1579 Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS);
1580 1580
1581 _evas_object_image_cleanup(eo_obj, obj, o); 1581 _evas_object_image_cleanup(eo_obj, obj, o);
1582 if ((pixels->w != o->cur->image.w) || (pixels->h != o->cur->image.h)) return 0; 1582 if ((pixels->w != o->cur->image.w) || (pixels->h != o->cur->image.h)) return EINA_FALSE;
1583 1583
1584 switch (pixels->format) 1584 switch (pixels->format)
1585 { 1585 {
@@ -1636,10 +1636,10 @@ _evas_image_pixels_import(Eo *eo_obj, Evas_Image_Data *o, Evas_Pixel_Import_Sour
1636 } 1636 }
1637 break; 1637 break;
1638 default: 1638 default:
1639 return 0; 1639 return EINA_FALSE;
1640 break; 1640 break;
1641 } 1641 }
1642 return 1; 1642 return EINA_TRUE;
1643} 1643}
1644 1644
1645EOLIAN static void 1645EOLIAN static void