Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

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


Modified Files:
        ewl_list.c ewl_tree2.c 


Log Message:
- add a standard ewl_label_view_get() call

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/ewl_list.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ewl_list.c  14 Aug 2006 14:56:55 -0000      1.3
+++ ewl_list.c  10 Sep 2006 15:54:44 -0000      1.4
@@ -63,10 +63,7 @@
        ecore_list_append(str_data, "fourth");
 
        model = ewl_model_ecore_list_get();
-
-       view = ewl_view_new();
-       ewl_view_constructor_set(view, ewl_label_new);
-       ewl_view_assign_set(view, EWL_VIEW_ASSIGN(ewl_label_text_set));
+       view = ewl_label_view_get();
 
        list = ewl_list_new();
        ewl_container_child_append(EWL_CONTAINER(o), list);
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/ewl_tree2.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- ewl_tree2.c 22 Aug 2006 21:41:44 -0000      1.12
+++ ewl_tree2.c 10 Sep 2006 15:54:44 -0000      1.13
@@ -79,9 +79,7 @@
         ewl_widget_show(tree);
 
         /* create a view for the first column that just has an ewl label */
-        view = ewl_view_new();
-        ewl_view_constructor_set(view, ewl_label_new);
-        ewl_view_assign_set(view, EWL_VIEW_ASSIGN(ewl_label_text_set));
+        view = ewl_label_view_get();
         ewl_view_header_fetch_set(view, tree2_test_data_header_fetch);
         ewl_tree2_column_append(EWL_TREE2(tree), model, view);
 



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to