Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

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


Modified Files:
        ewl_container_test.c 


Log Message:
- change tabs to spaces (Ewl uses an 8 space indent now instead of a tab)

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/container/ewl_container_test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ewl_container_test.c        4 Dec 2007 05:27:58 -0000       1.1
+++ ewl_container_test.c        6 May 2008 20:09:02 -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_button.h"
@@ -9,49 +9,49 @@
 static int switch_parents(char *buf, int len);
 
 static Ewl_Unit_Test container_unit_tests[] = {
-               {"switch parents", switch_parents, NULL, -1, 0},
-               {NULL, NULL, NULL, -1, 0}
-       };
+               {"switch parents", switch_parents, NULL, -1, 0},
+               {NULL, NULL, NULL, -1, 0}
+        };
 
 void
 test_info(Ewl_Test *test)
 {
-       test->name = "Container";
-       test->tip = "The base container type.";
-       test->filename = __FILE__;
-       test->type = EWL_TEST_TYPE_UNIT;
-       test->unit_tests = container_unit_tests;
+        test->name = "Container";
+        test->tip = "The base container type.";
+        test->filename = __FILE__;
+        test->type = EWL_TEST_TYPE_UNIT;
+        test->unit_tests = container_unit_tests;
 }
 
 static int
 switch_parents(char *buf, int len)
 {
-       Ewl_Widget *p1, *p2, *w;
+        Ewl_Widget *p1, *p2, *w;
 
-       p1 = ewl_vbox_new();
-       ewl_widget_show(p1);
+        p1 = ewl_vbox_new();
+        ewl_widget_show(p1);
 
-       w = ewl_button_new();
-       ewl_container_child_append(EWL_CONTAINER(p1), w);
-       ewl_widget_show(w);
-
-       if (!(w->parent == p1))
-       {
-               snprintf(buf, len, "initial parent incorrect (%p vs %p)", 
w->parent, p1);
-               return FALSE;
-       }
-
-       p2 = ewl_vbox_new();
-       ewl_widget_show(p2);
-
-       ewl_container_child_append(EWL_CONTAINER(p2), w);
-       if (!(w->parent == p2))
-       {
-               snprintf(buf, len, "reparent incorrect (%p vs %p)", w->parent, 
p2);
-               return FALSE;
-       }
+        w = ewl_button_new();
+        ewl_container_child_append(EWL_CONTAINER(p1), w);
+        ewl_widget_show(w);
+
+        if (!(w->parent == p1))
+        {
+               snprintf(buf, len, "initial parent incorrect (%p vs %p)", 
w->parent, p1);
+               return FALSE;
+        }
+
+        p2 = ewl_vbox_new();
+        ewl_widget_show(p2);
+
+        ewl_container_child_append(EWL_CONTAINER(p2), w);
+        if (!(w->parent == p2))
+        {
+               snprintf(buf, len, "reparent incorrect (%p vs %p)", w->parent, 
p2);
+               return FALSE;
+        }
 
-       return TRUE;
+        return TRUE;
 }
 
 



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

Reply via email to