Enlightenment CVS committal Author : lok Project : e_modules Module : notification
Dir : e_modules/notification/src Modified Files: e_mod_main.c Log Message: Popdown everything when the module is unloaded. =================================================================== RCS file: /cvs/e/e_modules/notification/src/e_mod_main.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- e_mod_main.c 16 Jan 2008 19:28:09 -0000 1.1 +++ e_mod_main.c 16 Jan 2008 19:55:10 -0000 1.2 @@ -73,6 +73,15 @@ EAPI int e_modapi_shutdown(E_Module *m __UNUSED__) { + Popup_Data *popup; + Evas_List *l, *next; + + for (l = dd->popups; l && (popup = l->data); l = next) + { + next = l->next; + _notification_popdown(popup, E_NOTIFICATION_CLOSED_REQUESTED); + dd->popups = evas_list_remove_list(dd->popups, l); + } e_notification_daemon_free(dd->daemon); free(dd); notification_mod = NULL; ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs