Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: alert.c Log Message: Clean up when exiting Alert(). =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/alert.c,v retrieving revision 1.43 retrieving revision 1.44 diff -u -3 -r1.43 -r1.44 --- alert.c 19 Mar 2005 16:39:58 -0000 1.43 +++ alert.c 3 Apr 2005 13:42:04 -0000 1.44 @@ -494,6 +494,13 @@ } } + XDestroyWindow(dd, win); + XFreeGC(dd, gc); + XFreeFontSet(dd, xfs); + if (cnum > 0) + XFreeColors(dd, cmap, cols, cnum, 0); + XCloseDisplay(dd); + switch (button) { case 1: @@ -509,13 +516,6 @@ default: break; } - - XDestroyWindow(dd, win); - XFreeGC(dd, gc); - XFreeFontSet(dd, xfs); - if (cnum > 0) - XFreeColors(dd, cmap, cols, cnum, 0); - XCloseDisplay(dd); } static void ------------------------------------------------------- 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