Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : proto

Dir     : e17/proto/exhibit/src/bin


Modified Files:
        exhibit_main.c exhibit_menus.c 


Log Message:
fix segv with using File -> Quit

===================================================================
RCS file: /cvs/e/e17/proto/exhibit/src/bin/exhibit_main.c,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -3 -r1.85 -r1.86
--- exhibit_main.c      21 Oct 2006 09:03:40 -0000      1.85
+++ exhibit_main.c      21 Oct 2006 09:32:31 -0000      1.86
@@ -1006,7 +1006,8 @@
      _ex_main_window_show(NULL);   
      
    etk_main();
-   _ex_options_save(e);
+   if(e)
+     _ex_options_save(e);
    _ex_options_shutdown();
    ecore_file_shutdown();
    etk_shutdown();
===================================================================
RCS file: /cvs/e/e17/proto/exhibit/src/bin/exhibit_menus.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -3 -r1.37 -r1.38
--- exhibit_menus.c     7 Oct 2006 11:39:20 -0000       1.37
+++ exhibit_menus.c     21 Oct 2006 09:32:31 -0000      1.38
@@ -179,8 +179,11 @@
 {
    EX_MENU_ITEM_GET_RETURN(obj);
 
-   if (e)     
-     E_FREE(e);     
+   if (e)
+     {
+       _ex_options_save(e);
+       E_FREE(e);     
+     }
 
    etk_main_quit();   
 }



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to