Enlightenment CVS committal Author : rbdpngn Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin Modified Files: main.c Log Message: Quit when the main window is closed and we're running tests in a tab. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/main.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- main.c 3 Mar 2006 02:52:20 -0000 1.3 +++ main.c 3 Mar 2006 05:17:21 -0000 1.4 @@ -125,6 +125,7 @@ box = ewl_vbox_new(); ewl_container_child_append(EWL_CONTAINER(win), box); ewl_widget_show(box); + window_count ++; run_test(EWL_CONTAINER(box), test); } @@ -151,8 +152,7 @@ static void run_test(Ewl_Container *box, Ewl_Test *test) { - if (test->func(box)) - window_count ++; + test->func(box); } static int ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs