Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/tree2 Modified Files: ewl_tree2.c Log Message: - fix warnings =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/tree2/ewl_tree2.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -3 -r1.20 -r1.21 --- ewl_tree2.c 4 Jun 2007 18:46:37 -0000 1.20 +++ ewl_tree2.c 29 Jun 2007 14:48:56 -0000 1.21 @@ -1146,7 +1146,8 @@ } static Ewl_Widget * -tree2_test_cb_widget_fetch(void *data, unsigned int row, unsigned int column) +tree2_test_cb_widget_fetch(void *data, unsigned int row __UNUSED__, + unsigned int column) { Ewl_Widget *w = NULL; @@ -1176,7 +1177,7 @@ } static void * -tree2_test_cb_header_data_fetch(void *data, unsigned int column) +tree2_test_cb_header_data_fetch(void *data __UNUSED__, unsigned int column) { if (column == 0) return "Title"; @@ -1286,7 +1287,7 @@ } static int -tree2_test_column_sortable(void *data, unsigned int column) +tree2_test_column_sortable(void *data __UNUSED__, unsigned int column) { return ((column == 0) || (column == 1)); } @@ -1341,7 +1342,7 @@ } static void -ewl_tree2_cb_hide_headers(Ewl_Widget *w, void *ev __UNUSED__, void *data) +ewl_tree2_cb_hide_headers(Ewl_Widget *w __UNUSED__, void *ev __UNUSED__, void *data) { Ewl_Tree2 *tree; int vis = TRUE; @@ -1405,8 +1406,6 @@ idx = EWL_SELECTION_IDX(sel); col = idx->column; - if (col == -1) col = 0; - if (col != 3) val = sel->model->fetch(sel->data, idx->row, col); else ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs