raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=09f0d526025047a3cae47e99a893952b0891591e

commit 09f0d526025047a3cae47e99a893952b0891591e
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Wed Nov 25 20:19:16 2020 +0000

    e pixmap - dont consider null pixmaps worth making a lot of noise about
---
 src/bin/e_pixmap.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_pixmap.c b/src/bin/e_pixmap.c
index bf3d5890f..ac6af39b0 100644
--- a/src/bin/e_pixmap.c
+++ b/src/bin/e_pixmap.c
@@ -467,7 +467,8 @@ e_pixmap_usable_set(E_Pixmap *cp, Eina_Bool set)
 E_API Eina_Bool
 e_pixmap_usable_get(const E_Pixmap *cp)
 {
-   EINA_SAFETY_ON_NULL_RETURN_VAL(cp, EINA_FALSE);
+   if (!cp) return EINA_FALSE;
+//   EINA_SAFETY_ON_NULL_RETURN_VAL(cp, EINA_FALSE);
    return cp->usable;
 }
 

-- 


Reply via email to