Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib/cache


Modified Files:
        evas_cache_engine_image.c evas_cache_image.c 


Log Message:


patches, caching fixes, zone dynamic creation/deletion handling, stuff.

===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/cache/evas_cache_engine_image.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- evas_cache_engine_image.c   13 Aug 2007 05:30:17 -0000      1.2
+++ evas_cache_engine_image.c   14 Dec 2007 05:57:16 -0000      1.3
@@ -39,7 +39,7 @@
 
    new->func = *cb;
 
-   new->limit = -1;
+   new->limit = 0;
    new->usage = 0;
 
    new->dirty = NULL;
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/cache/evas_cache_image.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- evas_cache_image.c  7 Oct 2007 11:17:09 -0000       1.9
+++ evas_cache_image.c  14 Dec 2007 05:57:16 -0000      1.10
@@ -25,8 +25,9 @@
 evas_cache_image_set(Evas_Cache_Image *cache, int limit)
 {
    assert(cache != NULL);
-
+   if (cache->limit == limit) return;
    cache->limit = limit;
+   evas_cache_image_flush(cache);
 }
 
 EAPI Evas_Cache_Image *



-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to