diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2020-11-25 20:19:16 +0000 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2020-11-25 20:19:16 +0000 |
commit | 09f0d526025047a3cae47e99a893952b0891591e (patch) | |
tree | 0988b52e929d7e3ae2377657d9022fee55a92b4b | |
parent | edfb14460de4a52528f56cb67c05f188808c89fa (diff) | |
download | enlightenment-09f0d526025047a3cae47e99a893952b0891591e.tar.gz |
e pixmap - dont consider null pixmaps worth making a lot of noise about
-rw-r--r-- | src/bin/e_pixmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/e_pixmap.c b/src/bin/e_pixmap.c index bf3d5890fd..ac6af39b03 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; } |