Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/bin
Modified Files:
main.c
Log Message:
- add the colourpicker, combo, dialog, filedialog and fileselector tests
- the two filedialog tests (single and multi-select) are combined into one
test now
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/main.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- main.c 3 Mar 2006 05:17:21 -0000 1.4
+++ main.c 4 Mar 2006 16:44:29 -0000 1.5
@@ -16,7 +16,6 @@
static int ewl_test_setup_tests(void);
static void ewl_test_print_tests(void);
-static void run_test(Ewl_Container *box, Ewl_Test *test);
static void run_test_boxed(Ewl_Widget *w, void *ev, void *data);
static void run_window_test(Ewl_Test *test, int width, int height);
static int create_main_test_window(Ewl_Container *win);
@@ -127,7 +126,7 @@
ewl_widget_show(box);
window_count ++;
- run_test(EWL_CONTAINER(box), test);
+ test->func(box);
}
static void
@@ -141,7 +140,7 @@
c = ewl_widget_name_find("execute_box");
ewl_container_reset(EWL_CONTAINER(c));
- run_test(EWL_CONTAINER(c), t);
+ t->func(c);
n = ewl_widget_name_find("notebook");
ewl_notebook_visible_page_set(EWL_NOTEBOOK(n), c);
@@ -149,12 +148,6 @@
fill_source_text(t);
}
-static void
-run_test(Ewl_Container *box, Ewl_Test *test)
-{
- test->func(box);
-}
-
static int
ewl_test_setup_tests(void)
{
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs