Enlightenment CVS committal Author : sebastid Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_zone.c Log Message: Remove handlers on free =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_zone.c,v retrieving revision 1.34 retrieving revision 1.35 diff -u -3 -r1.34 -r1.35 --- e_zone.c 22 Apr 2005 14:44:37 -0000 1.34 +++ e_zone.c 23 Apr 2005 05:46:49 -0000 1.35 @@ -283,8 +283,19 @@ _e_zone_free(E_Zone *zone) { E_Container *con; + Evas_List *l; int x, y; - + + /* remove handlers */ + for (l = zone->handlers; l; l = l->next) + { + Ecore_Event_Handler *h; + + h = l->next; + ecore_event_handler_del(h); + } + evas_list_free(zone->handlers); + con = zone->container; if (zone->name) free(zone->name); con->zones = evas_list_remove(con->zones, zone); ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs