[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [E-devel] Ecore_Evas - EFL Cookbook sample doesnt run



On Sun, 2006-05-07 at 17:46 -0400, dan sinclair wrote:
> Ed Presutti wrote:
> > /me smacks the dev team for not updating the cookbook!
> >   
> 
> 
> And yet, I see no patches.
> 
> dan

/me bows his head in shame.

My bad, here's the patch for the book.

Ed

--- evas_ecore_setup.xml.orig	2006-05-08 11:47:12.584196750 -0500
+++ evas_ecore_setup.xml	2006-05-08 11:52:23.899652750 -0500
@@ -43,6 +43,7 @@
 int main(){
 
         ecore_init();
+        ecore_evas_init();
 
    ee = ecore_evas_software_x11_new(NULL, 0,  0, 0, WIDTH, HEIGHT);
         ecore_evas_title_set(ee, "Ecore_Evas Template");
@@ -63,6 +64,9 @@
 
         ecore_main_loop_begin();
 
+        ecore_evas_shutdown();
+        ecore_shutdown();
+
         return 0;
 }
 </programlisting>