jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=17a51cffd3c5ded9364acc18a8bb3f21bfc5edf7

commit 17a51cffd3c5ded9364acc18a8bb3f21bfc5edf7
Author: Jean-Philippe Andre <[email protected]>
Date:   Mon Jun 20 14:04:09 2016 +0900

    evas: Fix type checking for legacy APIs
    
    This should fix canvas 3d examples (that were calling fill_set
    and evas would reject with "object is not an image").
---
 src/lib/evas/canvas/evas_image_legacy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/evas/canvas/evas_image_legacy.c 
b/src/lib/evas/canvas/evas_image_legacy.c
index 08c5b90..64efbf2 100644
--- a/src/lib/evas/canvas/evas_image_legacy.c
+++ b/src/lib/evas/canvas/evas_image_legacy.c
@@ -4,7 +4,7 @@
 #include "evas_image.eo.h"
 
 #define EVAS_IMAGE_API(_o, ...) do { \
-   if (EINA_UNLIKELY(!eo_isa(_o, EVAS_IMAGE_CLASS))) { \
+   if (EINA_UNLIKELY(!eo_isa(_o, EFL_CANVAS_IMAGE_INTERNAL_CLASS))) { \
       EINA_SAFETY_ERROR("object is not an image!"); \
       return __VA_ARGS__; \
    } } while (0)

-- 


Reply via email to