Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/bin/tests/combo


Modified Files:
        ewl_combo.c 


Log Message:
- fix warnings

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/combo/ewl_combo.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- ewl_combo.c 4 Jun 2007 18:46:32 -0000       1.14
+++ ewl_combo.c 29 Jun 2007 14:48:55 -0000      1.15
@@ -313,7 +313,7 @@
 }
 
 static Ewl_Widget *
-combo_test_editable_cb_header_fetch(void *data, unsigned int col)
+combo_test_editable_cb_header_fetch(void *data, unsigned int col __UNUSED__)
 {
        Combo_Test_Data *d;
        Ewl_Widget *w, *o;
@@ -321,17 +321,7 @@
 
        d = data;
        w = ewl_hbox_new();
-       if (col > -1)
-       {
-               o = ewl_image_new();
-               ewl_image_file_path_set(EWL_IMAGE(o), d->data[col]);
-               ewl_container_child_append(EWL_CONTAINER(w), o);
-               ewl_widget_show(o);
-
-               val = d->data[col];
-       }
-       else
-               val = "Please select an option.";
+       val = "Please select an option.";
 
        o = ewl_entry_new();
        ewl_text_text_set(EWL_TEXT(o), val);
@@ -344,8 +334,8 @@
 }
 
 static Ewl_Widget *
-combo_test_editable_cb_widget_fetch(void *data, 
-                                       unsigned int row, unsigned int col)
+combo_test_editable_cb_widget_fetch(void *data, unsigned int row __UNUSED__, 
+                                               unsigned int col __UNUSED__)
 {
        Ewl_Widget *w;
        Ewl_Widget *o;



-------------------------------------------------------------------------
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

Reply via email to