Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/bin


Modified Files:
        ewl_button_test.c ewl_colordialog_test.c ewl_combo_test.c 
        ewl_freebox_test.c ewl_simple_test.c 


Log Message:
- fix compiler warnings

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_button_test.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- ewl_button_test.c   2 Nov 2005 06:32:28 -0000       1.6
+++ ewl_button_test.c   8 Feb 2006 04:48:10 -0000       1.7
@@ -88,7 +88,7 @@
         */
        check_button[1]  = ewl_checkbutton_new();
        ewl_button_label_set(EWL_BUTTON(check_button[1] ), "With Label and 
checked");
-       ewl_checkbutton_checked_set(check_button[1], TRUE);
+       ewl_checkbutton_checked_set(EWL_CHECKBUTTON(check_button[1]), TRUE);
        ewl_container_child_append(EWL_CONTAINER(button_box), check_button[1]);
        ewl_object_alignment_set(EWL_OBJECT(check_button[1]),
                                 EWL_FLAG_ALIGN_LEFT);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_colordialog_test.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- ewl_colordialog_test.c      4 Dec 2005 16:56:29 -0000       1.4
+++ ewl_colordialog_test.c      8 Feb 2006 04:48:10 -0000       1.5
@@ -6,7 +6,6 @@
 __colordialog_cb_value_changed(Ewl_Widget *w, void *ev, void *data __UNUSED__)
 {
        Ewl_Dialog_Event *cd_ev;
-       unsigned int response;
   
        cd_ev = ev;
        if (cd_ev->response == EWL_STOCK_OK)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_combo_test.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- ewl_combo_test.c    2 Nov 2005 18:23:21 -0000       1.6
+++ ewl_combo_test.c    8 Feb 2006 04:48:10 -0000       1.7
@@ -16,7 +16,7 @@
                                        void *user_data __UNUSED__)
 {
        Ewl_Widget *entry;
-       char *text;
+       const char *text;
 
        entry = EWL_WIDGET(ev_data);
        text = ewl_menu_item_text_get(EWL_MENU_ITEM(entry));
@@ -29,8 +29,6 @@
                t2 = ewl_widget_data_get(entry, "dummy");
                printf("with data: %s\n", t2);
        }
-
-       IF_FREE(text);
 }
 
 void
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_freebox_test.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- ewl_freebox_test.c  5 Jan 2006 03:14:59 -0000       1.4
+++ ewl_freebox_test.c  8 Feb 2006 04:48:10 -0000       1.5
@@ -65,7 +65,7 @@
                ewl_object_minimum_size_set(EWL_OBJECT(i), (int)width,
                                                        (int)height);
 
-               if (fb == sort_fb)
+               if (fb == EWL_FREEBOX(sort_fb))
                {
                        ewl_icon_editable_set(EWL_ICON(i), TRUE);
                        ewl_callback_append(i, EWL_CALLBACK_VALUE_CHANGED,
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_simple_test.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- ewl_simple_test.c   2 Nov 2005 18:23:21 -0000       1.9
+++ ewl_simple_test.c   8 Feb 2006 04:48:10 -0000       1.10
@@ -279,5 +279,11 @@
 
        ewl_main();
        return 0;
+
+       /* ugly, but shuts the compiler warning up */
+       entice_text(NULL, NULL, NULL, NULL);
+       entrance_text(NULL, NULL, NULL, NULL);
+       elicit_text(NULL, NULL, NULL, NULL);
+       evidence_text(NULL, NULL, NULL, NULL);
 }
 




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to