Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/modules/loaders/svg


Modified Files:
        evas_image_load_svg.c 


Log Message:


same as previous commit.

===================================================================
RCS file: /cvs/e/e17/libs/evas/src/modules/loaders/svg/evas_image_load_svg.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- evas_image_load_svg.c       24 Sep 2006 13:32:25 -0000      1.8
+++ evas_image_load_svg.c       30 Sep 2006 10:18:37 -0000      1.9
@@ -213,9 +213,8 @@
    /* need to check if this is required... */
    cairo_destroy(cr);
    rsvg_handle_free(rsvg);
-   /* un-premul the im data */
-   svg_loader_unpremul_data(im->image->data, w * h);
    chdir(pcwd);
+   evas_common_image_set_alpha_sparse(im);
    return 1;
 }
 
@@ -232,6 +231,7 @@
 EAPI void
 module_close(void)
 {
+   if (!rsvg_initialized) return;
    rsvg_term();
    rsvg_initialized = 0;
 }



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to