summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyoun Park <jy0703.park@samsung.com>2017-01-24 15:34:24 +0900
committerJiyoun Park <jy0703.park@samsung.com>2017-01-24 15:36:05 +0900
commit68f63b01e2b4a34f5ed357492268b7040f077a9d (patch)
tree822e9921f8b8f3dd8fae88bdc258833488039aaf
parentfa92926469881cdff7eda4627747fc964c2fa1a4 (diff)
evas_inline: Change the return value for readabilty
-rw-r--r--src/lib/evas/include/evas_inline.x4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/include/evas_inline.x b/src/lib/evas/include/evas_inline.x
index 6afa69ac9f..38b8360047 100644
--- a/src/lib/evas/include/evas_inline.x
+++ b/src/lib/evas/include/evas_inline.x
@@ -46,7 +46,7 @@ _evas_object_callback_has_by_type(Evas_Object_Protected_Data *obj, Evas_Callback
46static inline int 46static inline int
47evas_object_was_visible(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj) 47evas_object_was_visible(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj)
48{ 48{
49 if (EINA_UNLIKELY(!obj->prev)) return EINA_FALSE; 49 if (EINA_UNLIKELY(!obj->prev)) return 0;
50 if ((obj->prev->visible) && (!obj->no_render) && 50 if ((obj->prev->visible) && (!obj->no_render) &&
51 ((obj->prev->cache.clip.visible) || obj->is_smart) && 51 ((obj->prev->cache.clip.visible) || obj->is_smart) &&
52 ((obj->prev->cache.clip.a > 0 && obj->prev->render_op == EVAS_RENDER_BLEND) 52 ((obj->prev->cache.clip.a > 0 && obj->prev->render_op == EVAS_RENDER_BLEND)
@@ -157,7 +157,7 @@ evas_object_is_source_invisible(Evas_Object *eo_obj EINA_UNUSED, Evas_Object_Pro
157static inline int 157static inline int
158evas_object_is_visible(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj) 158evas_object_is_visible(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj)
159{ 159{
160 if (EINA_UNLIKELY(!obj->cur)) return EINA_FALSE; 160 if (EINA_UNLIKELY(!obj->cur)) return 0;
161 if ((obj->cur->visible) && (!obj->no_render) && 161 if ((obj->cur->visible) && (!obj->no_render) &&
162 ((obj->cur->cache.clip.visible) || (obj->is_smart)) && 162 ((obj->cur->cache.clip.visible) || (obj->is_smart)) &&
163 ((obj->cur->cache.clip.a > 0 && obj->cur->render_op == EVAS_RENDER_BLEND) 163 ((obj->cur->cache.clip.a > 0 && obj->cur->render_op == EVAS_RENDER_BLEND)