jpeg pushed a commit to branch master.

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

commit f4f808f25dd66b4a1e4ad40580d6c4cd47972699
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Wed Jul 1 14:19:25 2015 +0900

    Evas image: Remove useless piece of code
    
    Not only is it useless, it is very likely to make the function call
    fail (data_get is quite likely to fail with GL).
---
 src/lib/evas/canvas/evas_object_image.c | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/src/lib/evas/canvas/evas_object_image.c 
b/src/lib/evas/canvas/evas_object_image.c
index 4fe6e14..7134783 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -4201,18 +4201,6 @@ evas_object_image_is_inside(Evas_Object *eo_obj,
           }
         else
           {
-             void *im;
-             DATA32 *data = NULL;
-             int err = 0;
-
-             im = ENFN->image_data_get(ENDT, pixels, 0, &data, &err);
-             if ((!im) || (!data) || (err))
-               {
-                  ERR("Couldn't get image pixels %p: im=%p, data=%p, err=%d",
-                      pixels, im, data, err);
-                  goto end;
-               }
-
              idx = evas_object_image_figure_x_fill(eo_obj, obj, 
o->cur->fill.x, o->cur->fill.w, &idw);
              idy = evas_object_image_figure_y_fill(eo_obj, obj, 
o->cur->fill.y, o->cur->fill.h, &idh);
              if (idw < 1) idw = 1;
@@ -4468,7 +4456,6 @@ evas_object_image_is_inside(Evas_Object *eo_obj,
           }
      }
 
- end:
    return is_inside;
 }
 

-- 


Reply via email to