Hey,

because the pending member of an Image_Entry_Flags is not available when 
there is no async preload, there is a compilation error in 
evas_cache_image.c line 940.

Here is a patch below. Is it good enough ? (don't comment about 
indentation, i know it's not good, but i prefered to show the most 
relevant parts of the patch)

Vincent

Index: evas_cache_image.c
===================================================================
--- evas_cache_image.c  (revision 43513)
+++ evas_cache_image.c  (working copy)
@@ -937,9 +937,11 @@
     im->references--;
     cache = im->cache;

-   if (im->references == 0 && !im->flags.pending)
+   if (im->references == 0)
       {
  #ifdef BUILD_ASYNC_PRELOAD
+      if (!im->flags.pending)
+       {
        pthread_mutex_lock(&mutex);
          if (im->flags.preload || im->flags.in_pipe)
            {
@@ -955,6 +957,7 @@
               return;
            }
        pthread_mutex_unlock(&mutex);
+       }
  #endif

        if (im->flags.dirty)


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to