Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/modules/battery


Modified Files:
        e_mod_main.c 


Log Message:


more paranoid cleanup of menus

===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/battery/e_mod_main.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -3 -r1.73 -r1.74
--- e_mod_main.c        20 Apr 2006 11:52:40 -0000      1.73
+++ e_mod_main.c        21 Apr 2006 15:54:11 -0000      1.74
@@ -1382,7 +1382,12 @@
      e_object_del(E_OBJECT(battery_config->config_dialog));
    if (battery_config->battery_check_timer)
      ecore_timer_del(battery_config->battery_check_timer);
-   if (battery_config->menu) e_object_del(E_OBJECT(battery_config->menu));
+   if (battery_config->menu)
+     {
+        e_menu_post_deactivate_callback_set(battery_config->menu, NULL, NULL);
+       e_object_del(E_OBJECT(battery_config->menu));
+       battery_config->menu = NULL;
+     }
    free(battery_config);
    battery_config = NULL;
    E_CONFIG_DD_FREE(conf_edd);




-------------------------------------------------------
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