aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/evas_object_image.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-07-01 14:19:25 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-07-01 20:46:34 +0900
commitf4f808f25dd66b4a1e4ad40580d6c4cd47972699 (patch)
tree0bb3750bcd37ca3ad5d4277bead30e4416ccc665 /src/lib/evas/canvas/evas_object_image.c
parentEdje: Embed verbatim scripts for Efl.Gfx.Filters (diff)
downloadefl-f4f808f25dd66b4a1e4ad40580d6c4cd47972699.tar.gz
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).
Diffstat (limited to 'src/lib/evas/canvas/evas_object_image.c')
-rw-r--r--src/lib/evas/canvas/evas_object_image.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c
index 4fe6e1460d..7134783111 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;
}