Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : libs/epsilon

Dir     : e17/libs/epsilon/src/lib


Modified Files:
        Epsilon.c 


Log Message:
* PDF thumbnailer now works!

===================================================================
RCS file: /cvs/e/e17/libs/epsilon/src/lib/Epsilon.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- Epsilon.c   25 Jun 2007 10:28:39 -0000      1.33
+++ Epsilon.c   25 Jun 2007 11:31:47 -0000      1.34
@@ -584,6 +584,18 @@
 
     len = strlen (e->src);
 
+   if (!evas_init()) return -1;
+   if (!ecore_init()) {
+     evas_shutdown ();
+     return -1;
+   }
+
+   if (!ecore_evas_init()) {
+     evas_shutdown ();
+     ecore_shutdown ();
+     return -1;
+    }
+
     if ((len > 4) && (!strcmp (&e->src[len - 3], "edj")))
       {
        Evas *evas = NULL;
@@ -688,9 +700,9 @@
                return (EPSILON_OK);
              }
            imlib_free_image_and_decache ();
-         }
+         } 
 
-      }
+      } 
 #endif
     if (ee) ecore_evas_free(ee);
   }



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to