Enlightenment CVS committal Author : pfritz Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/list Modified Files: ewl_list.c Log Message: use consequently "unsigned int" in all MVC related stuff Note: that changes the API of the view callbacks and the data_fetch cb =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/list/ewl_list.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- ewl_list.c 23 Mar 2007 22:06:30 -0000 1.9 +++ ewl_list.c 29 Mar 2007 23:16:00 -0000 1.10 @@ -25,10 +25,11 @@ static void list_cb_value_changed(Ewl_Widget *w, void *ev, void *data); static void list_cb_multi_value_changed(Ewl_Widget *w, void *ev, void *data); -static Ewl_Widget *list_test_cb_widget_fetch(void *data, int row, int col); +static Ewl_Widget *list_test_cb_widget_fetch(void *data, unsigned int row, + unsigned int col); static void *list_test_data_fetch(void *data, unsigned int row, unsigned int column); -static int list_test_data_count_get(void *data); +static unsigned int list_test_data_count_get(void *data); static void list_cb_select_none(Ewl_Widget *w, void *ev, void *data); void @@ -175,7 +176,7 @@ } static Ewl_Widget * -list_test_cb_widget_fetch(void *data, int row, int col) +list_test_cb_widget_fetch(void *data, unsigned int row, unsigned int col) { Ewl_Widget *w; List_Test_Row_Data *d; @@ -209,7 +210,7 @@ return d->rows[row]; } -static int +static unsigned int list_test_data_count_get(void *data) { List_Test_Data *d; @@ -263,7 +264,7 @@ else { Ewl_Selection_Range *idx; - int i; + unsigned int i; idx = EWL_SELECTION_RANGE(sel); for (i = idx->start.row; i <= idx->end.row; i++) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs