Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : proto

Dir     : e17/proto/emenu


Modified Files:
        e_mod_main.c 


Log Message:
Don't try to remove the augment in the delete cb
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/emenu/e_mod_main.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- e_mod_main.c        27 Jan 2006 02:09:41 -0000      1.3
+++ e_mod_main.c        27 Jan 2006 02:16:31 -0000      1.4
@@ -23,10 +23,7 @@
 e_modapi_init(E_Module *m) 
 {
    EMenu *em;
-   
-   /* Init Ecore_File */
-   if (!ecore_file_init()) return NULL;
-
+  
    /* Init the module */
    em = _emenu_init(m); 
    
@@ -43,7 +40,6 @@
       
    _emenu_shutdown(em);
    
-   ecore_file_shutdown();
    return 1;
 }
 
@@ -114,7 +110,8 @@
 _emenu_shutdown(EMenu *em) 
 {
    E_CONFIG_DD_FREE(em->conf_edd);
-   e_int_menus_menu_augmentation_del("config", em->augment);
+   if (em->augment) 
+     e_int_menus_menu_augmentation_del("config", em->augment);
    free(em->conf);
    free(em);
 }
@@ -135,14 +132,7 @@
 static void
 _emenu_menu_del(void *data, E_Menu *m) 
 {
-   EMenu *em;
-   
-   em = data;
-   if (em->augment) 
-     {
-       e_object_del(E_OBJECT(em->augment));
-       em->augment = NULL;
-     }
+   return;
 }
 
 static void




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to