Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/test


Modified Files:
        ewl_embed_test.c ewl_filedialog_test.c ewl_floater_test.c 
        ewl_imenu_test.c ewl_seeker_test.c ewl_simple_test.c 


Log Message:
- api breakage, ewl_floater
- cleanup warnings in test files

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_embed_test.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- ewl_embed_test.c    18 Aug 2004 03:15:22 -0000      1.6
+++ ewl_embed_test.c    23 Aug 2004 01:17:30 -0000      1.7
@@ -5,12 +5,18 @@
 void print_cb(Ewl_Widget *w, void *ev_data, void *user_data)
 {
        printf("jack shit\n");
+    return;
+    w = NULL;
+    ev_data = NULL;
+    user_data = NULL;
 }
 
 void move_embed_contents_cb(Ewl_Widget *w, void *ev_data, void *user_data)
 {
        ewl_object_geometry_request(EWL_OBJECT(user_data), CURRENT_X(w),
                                    CURRENT_Y(w), CURRENT_W(w), CURRENT_H(w));
+    return;
+    ev_data = NULL;
 }
 
 int main(int argc, char **argv)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_filedialog_test.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- ewl_filedialog_test.c       18 Aug 2004 03:15:22 -0000      1.23
+++ ewl_filedialog_test.c       23 Aug 2004 01:17:30 -0000      1.24
@@ -76,6 +76,10 @@
        home = getenv("HOME");
        if (home)
                ewl_filedialog_set_directory(fd, home);
+
+    return;
+    w = NULL;
+    ev_data = NULL;
 }
 
 void __start_fd (Ewl_Widget *w, void *ev_data, void *user_data)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_floater_test.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- ewl_floater_test.c  18 Aug 2004 04:41:59 -0000      1.13
+++ ewl_floater_test.c  23 Aug 2004 01:17:30 -0000      1.14
@@ -58,7 +58,7 @@
 
        floater = ewl_floater_new(radio_button[1]);
        ewl_container_child_append(EWL_CONTAINER(floater_box), floater);
-       ewl_floater_set_position(EWL_FLOATER(floater), 20, 20);
+       ewl_floater_position_set(EWL_FLOATER(floater), 20, 20);
        ewl_widget_show(floater);
 
        button[0] = ewl_button_new("With Label");
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_imenu_test.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- ewl_imenu_test.c    18 Aug 2004 03:15:22 -0000      1.16
+++ ewl_imenu_test.c    23 Aug 2004 01:17:30 -0000      1.17
@@ -37,6 +37,10 @@
 {
        printf("Imenu configured to (%d, %d) %dx%d\n", CURRENT_X(w),
                        CURRENT_Y(w), CURRENT_W(w), CURRENT_H(w));
+    return;
+    w = NULL;
+    ev_data = NULL;
+    user_data = NULL;
 }
 
 void
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_seeker_test.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- ewl_seeker_test.c   18 Aug 2004 04:13:38 -0000      1.16
+++ ewl_seeker_test.c   23 Aug 2004 01:17:30 -0000      1.17
@@ -23,6 +23,9 @@
        s = EWL_SEEKER(w);
 
        printf("Seeker set to %g\n", ewl_seeker_value_get(s));
+    return;
+    ev_data = NULL;
+    user_data = NULL;
 }
 
 void
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_simple_test.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- ewl_simple_test.c   19 Aug 2004 20:03:34 -0000      1.12
+++ ewl_simple_test.c   23 Aug 2004 01:17:30 -0000      1.13
@@ -23,6 +23,11 @@
        ewl_text_style_set(EWL_TEXT(label), "none");
        ewl_text_font_set(EWL_TEXT(label), "Vera", 7);
        ewl_text_text_append(EWL_TEXT(label), text);
+
+    return;
+    obj = NULL;
+    emission = NULL;
+    source = NULL;
 }
 
 void
@@ -47,6 +52,11 @@
        ewl_text_style_set(EWL_TEXT(label), "none");
        ewl_text_font_set(EWL_TEXT(label), "Vera", 7);
        ewl_text_text_append(EWL_TEXT(label), text);
+    
+    return;
+    obj = NULL;
+    emission = NULL;
+    source = NULL;
 }
 
 void
@@ -72,6 +82,11 @@
        ewl_text_style_set(EWL_TEXT(label), "none");
        ewl_text_font_set(EWL_TEXT(label), "Vera", 7);
        ewl_text_text_append(EWL_TEXT(label), text);
+    
+    return;
+    obj = NULL;
+    emission = NULL;
+    source = NULL;
 }
 
 void
@@ -97,6 +112,11 @@
         ewl_text_style_set(EWL_TEXT(label), "none");
         ewl_text_font_set(EWL_TEXT(label), "Vera", 7);
         ewl_text_text_append(EWL_TEXT(label), text);
+    
+    return;
+    obj = NULL;
+    emission = NULL;
+    source = NULL;
 }
 
 void start_text(Ewl_Widget *w, void *ev_data, void *user_data)
@@ -115,6 +135,10 @@
        ewl_text_color_set(EWL_TEXT(label), 0, 0, 255, 190);
        ewl_text_text_append(EWL_TEXT(label), "http://www.enlightenment.org/";);
        ewl_text_color_set(EWL_TEXT(label), 0, 0, 0, 255);
+    
+    return;
+    w = NULL;
+    ev_data = NULL;
 }
 
 void realize_logo_cb(Ewl_Widget *w, void *ev_data, void *user_data)
@@ -127,28 +151,48 @@
                        entice_text, user_data);
        edje_object_signal_callback_add(w->theme_object, "evidence", "tour",
                        evidence_text, user_data);
+
+    return;
+    ev_data = NULL;
 }
 
 void test_cb(Ewl_Widget *w, void *ev_data, void *user_data)
 {
        printf("%s at: %d, %d (%d x %d)\n", (char *)user_data, CURRENT_X(w),
                        CURRENT_Y(w), CURRENT_W(w), CURRENT_H(w));
+
+    return;
+    ev_data = NULL;
 }
 
 void close_cb(Ewl_Widget *w, void *ev_data, void *user_data)
 {
        ewl_main_quit();
+
+    return;
+    w = NULL;
+    ev_data = NULL;
+    user_data = NULL;
 }
 
 void button_down(Ewl_Widget *w, void *ev_data, void *user_data)
 {
        Ewl_Widget *logo = user_data;
        ewl_widget_state_set(logo, "start_tour");
+
+    return;
+    w = NULL;
+    ev_data = NULL;
 }
 
 void quit_demo(Ewl_Widget *w, void *ev_data, void *user_data)
 {
        ewl_main_quit();
+
+    return;
+    w = NULL;
+    ev_data = NULL;
+    user_data = NULL;
 }
 
 int main(int argc, char **argv)




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to