aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2018-10-12 14:27:35 +0900
committerHermet Park <hermetpark@gmail.com>2018-10-12 14:32:20 +0900
commit57fd66c4b57636d9deb5382a7ce25b6650ffa661 (patch)
tree26f050303633fc50e05d6cf792e5b2357c4de3e2
parentRevert "elm config: hide theme and profile config in gui when running in enli... (diff)
downloadefl-57fd66c4b57636d9deb5382a7ce25b6650ffa661.tar.gz
evas image: fix preloading compatibility broken.
Well... Logically, we don't need to request preload again, If image is loaded already. But somewhow it broke the enlightenment pager and I need to revert the previous behavior here. Whatever image is loaded or not, here image requests preload again, unless it is already on preloading. This was introduced by babacf41b7269a257065a41a2a4ec7763bada25f. This fixes enlightenment pager bg non visible issue.
-rw-r--r--src/lib/evas/canvas/efl_canvas_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_image.c b/src/lib/evas/canvas/efl_canvas_image.c
index c2988f87bd..0339741c04 100644
--- a/src/lib/evas/canvas/efl_canvas_image.c
+++ b/src/lib/evas/canvas/efl_canvas_image.c
@@ -92,7 +92,7 @@ _image_preload_internal(Eo *eo_obj, Evas_Image_Data *o, Eina_Bool cancel)
}
else
{
- if (o->preload == EVAS_IMAGE_PRELOAD_NONE)
+ if (o->preload != EVAS_IMAGE_PRELOADING)
{
o->preload = EVAS_IMAGE_PRELOADING;
ENFN->image_data_preload_request(ENC, o->engine_data, eo_obj);