Enlightenment CVS committal
Author : ningerso
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/tree
Modified Files:
ewl_tree.c
Log Message:
Remove trailing whitespace.
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/tree/ewl_tree.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- ewl_tree.c 25 Jul 2007 17:00:59 -0000 1.5
+++ ewl_tree.c 23 Aug 2007 05:26:49 -0000 1.6
@@ -16,7 +16,7 @@
static int create_test(Ewl_Container *box);
static void cb_get_rows(Ewl_Widget *w, void *ev, void *data);
-void
+void
test_info(Ewl_Test *test)
{
test->name = "Tree";
@@ -44,7 +44,7 @@
tree = ewl_tree_new(COLS);
ewl_tree_mode_set(EWL_TREE(tree), EWL_SELECTION_MODE_SINGLE);
-
+
button = ewl_button_new();
ewl_button_label_set(EWL_BUTTON(button), "Number of selected rows");
ewl_container_child_append(EWL_CONTAINER(hbox), button);
@@ -59,7 +59,7 @@
ewl_callback_append(button, EWL_CALLBACK_CLICKED, cb_get_rows, tree);
ewl_widget_show(button);
- for (col = 0; col < COLS; col++)
+ for (col = 0; col < COLS; col++)
{
snprintf(buf, PATH_MAX, "Column %d", col);
headers[col] = strdup(buf);
@@ -71,10 +71,10 @@
memset(entries, 0, COLS * sizeof(char *));
- for (row = 0; row < ROWS; row++)
+ for (row = 0; row < ROWS; row++)
{
- for (col = 0; col < COLS; col++)
+ for (col = 0; col < COLS; col++)
{
snprintf(buf, 1024, "Row %d Col %d", row, col);
entries[col] = strdup(buf);
@@ -87,7 +87,7 @@
prow = ewl_tree_text_row_add(EWL_TREE(tree),
EWL_ROW(prow), entries);
- for (col = 0; col < COLS; col++)
+ for (col = 0; col < COLS; col++)
{
if (entries[col])
free(entries[col]);
@@ -95,7 +95,7 @@
}
}
- for (col = 0; col < COLS; col++)
+ for (col = 0; col < COLS; col++)
{
if (headers[col])
free(headers[col]);
@@ -109,7 +109,7 @@
{
Ecore_List *selected;
Ewl_Tree *tree;
-
+
tree = data;
selected = ewl_tree_selected_get(tree);
printf("Selected %d rows\n", ecore_list_count(selected));
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs