Enlightenment CVS committal Author : ningerso Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/combo Modified Files: ewl_combo.c Log Message: Merge some of dan's MVC work that I missed in the conversion. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/combo/ewl_combo.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- ewl_combo.c 17 Oct 2006 04:59:54 -0000 1.1 +++ ewl_combo.c 17 Oct 2006 05:37:33 -0000 1.2 @@ -238,15 +238,13 @@ void *data __UNUSED__) { Combo_Test_Data *d; - int idx; + Ewl_Selection_Idx *idx; d = ewl_mvc_data_get(EWL_MVC(w)); idx = ewl_mvc_selected_get(EWL_MVC(w)); - if (idx > -1) - printf("value changed to %d (%s)\n", idx, d->data[idx]); - else - printf("Nothing selected.\n"); + printf("value changed to %d (%s)\n", + idx->row, d->data[idx->row]); } static void ------------------------------------------------------------------------- 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