Enlightenment CVS committal
Author : doursse
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/bin
Modified Files:
ewl_table_test.c
Log Message:
table test updated to the new api
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_table_test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ewl_table_test.c 9 Feb 2005 04:31:54 -0000 1.1
+++ ewl_table_test.c 6 Mar 2005 00:10:40 -0000 1.2
@@ -25,7 +25,6 @@
Ewl_Widget *table_box;
Ewl_Widget *table;
Ewl_Widget *button[10];
- Ewl_Widget *cell;
char *headers[4];
char *one = "one";
char *two = "two";
@@ -71,12 +70,9 @@
- cell = ewl_cell_new();
button[0] = ewl_button_new("FIRST");
- ewl_container_child_append(EWL_CONTAINER(cell), button[0]);
- ewl_table_add(EWL_TABLE(table), EWL_CELL(cell), 3, 4, 2, 3);
+ ewl_table_add(EWL_TABLE(table), button[0], 3, 4, 2, 3);
ewl_widget_show(button[0]);
- ewl_widget_show(cell);
/*
button[1] = ewl_button_new(NULL);
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs