Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/scrollbar Modified Files: ewl_scrollbar_test.c Log Message: - change tabs to spaces (Ewl uses 8 space indent now instead of a tab) =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/scrollbar/ewl_scrollbar_test.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- ewl_scrollbar_test.c 4 Dec 2007 05:28:03 -0000 1.1 +++ ewl_scrollbar_test.c 6 May 2008 20:18:56 -0000 1.2 @@ -1,4 +1,4 @@ -/* vim: set sw=8 ts=8 sts=8 noexpandtab: */ +/* vim: set sw=8 ts=8 sts=8 expandtab: */ #include "Ewl_Test.h" #include "ewl_test_private.h" #include "ewl_scrollbar.h" @@ -10,28 +10,28 @@ void test_info(Ewl_Test *test) { - test->name = "Scrollbar"; - test->tip = "A scrollbar."; - test->filename = __FILE__; - test->func = create_test; - test->type = EWL_TEST_TYPE_SIMPLE; + test->name = "Scrollbar"; + test->tip = "A scrollbar."; + test->filename = __FILE__; + test->func = create_test; + test->type = EWL_TEST_TYPE_SIMPLE; } static int create_test(Ewl_Container *box) { - Ewl_Widget *hscrollbar, *vscrollbar; + Ewl_Widget *hscrollbar, *vscrollbar; - hscrollbar = ewl_hscrollbar_new(); - ewl_object_padding_set(EWL_OBJECT(hscrollbar), 10, 10, 10, 0); - ewl_container_child_append(box, hscrollbar); - ewl_widget_show(hscrollbar); - - vscrollbar = ewl_vscrollbar_new(); - ewl_object_padding_set(EWL_OBJECT(vscrollbar), 10, 10, 10, 10); - ewl_container_child_append(box, vscrollbar); - ewl_widget_show(vscrollbar); + hscrollbar = ewl_hscrollbar_new(); + ewl_object_padding_set(EWL_OBJECT(hscrollbar), 10, 10, 10, 0); + ewl_container_child_append(box, hscrollbar); + ewl_widget_show(hscrollbar); + + vscrollbar = ewl_vscrollbar_new(); + ewl_object_padding_set(EWL_OBJECT(vscrollbar), 10, 10, 10, 10); + ewl_container_child_append(box, vscrollbar); + ewl_widget_show(vscrollbar); - return 1; + return 1; } ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs