Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/calendar
Modified Files:
ewl_calendar_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/calendar/ewl_calendar_test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ewl_calendar_test.c 4 Dec 2007 05:27:58 -0000 1.1
+++ ewl_calendar_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_calendar.h"
@@ -11,35 +11,35 @@
void
test_info(Ewl_Test *test)
{
- test->name = "Calendar";
- test->tip = "Defines a calendar widget.";
- test->filename = __FILE__;
- test->func = create_test;
- test->type = EWL_TEST_TYPE_MISC;
+ test->name = "Calendar";
+ test->tip = "Defines a calendar widget.";
+ test->filename = __FILE__;
+ test->func = create_test;
+ test->type = EWL_TEST_TYPE_MISC;
}
static int
create_test(Ewl_Container *box)
{
- Ewl_Widget *cal;
+ Ewl_Widget *cal;
- cal = ewl_calendar_new();
- ewl_container_child_append(EWL_CONTAINER(box), cal);
- ewl_callback_append(EWL_WIDGET(cal),
- EWL_CALLBACK_VALUE_CHANGED, ewl_calendar_test,
- cal);
- ewl_widget_show(cal);
+ cal = ewl_calendar_new();
+ ewl_container_child_append(EWL_CONTAINER(box), cal);
+ ewl_callback_append(EWL_WIDGET(cal),
+ EWL_CALLBACK_VALUE_CHANGED, ewl_calendar_test,
+ cal);
+ ewl_widget_show(cal);
- return 1;
+ return 1;
}
static void
ewl_calendar_test(Ewl_Widget *w __UNUSED__, void *ev __UNUSED__, void *data)
{
- char *date;
+ char *date;
- date = ewl_calendar_ascii_time_get(EWL_CALENDAR(data));
- printf ("Selected: %s\n", date);
- free(date);
+ date = ewl_calendar_ascii_time_get(EWL_CALENDAR(data));
+ printf ("Selected: %s\n", date);
+ free(date);
}
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs