Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : docs

Dir     : e17/docs/ewlbook/xml


Modified Files:
        appendix-ewl_media_example.xml getting_started.xml 


Log Message:
Update documentation to latest EWL API.

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/docs/ewlbook/xml/appendix-ewl_media_example.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- appendix-ewl_media_example.xml      13 Oct 2004 15:34:33 -0000      1.6
+++ appendix-ewl_media_example.xml      3 Oct 2005 18:55:33 -0000       1.7
@@ -141,7 +141,8 @@
     ewl_widget_show(b);
 
     /* create the time widget now so we can pass it to the video as data */
-    time = ewl_text_new("00:00:00");
+    time = ewl_text_new();
+    ewl_text_text_set(EWL_TEXT(time), "00:00:00");
 
     /* the video */
     video = ewl_media_new(file);
===================================================================
RCS file: /cvsroot/enlightenment/e17/docs/ewlbook/xml/getting_started.xml,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- getting_started.xml 17 Aug 2005 02:26:27 -0000      1.12
+++ getting_started.xml 3 Oct 2005 18:55:33 -0000       1.13
@@ -279,7 +279,7 @@
     ewl_widget_show(box);
 
     /* create text label */
-    label = ewl_text_new(NULL);
+    label = ewl_text_new();
     ewl_container_child_append(EWL_CONTAINER(box), label);
     ewl_object_alignment_set(EWL_OBJECT(label), EWL_FLAG_ALIGN_CENTER);
     ewl_text_styles_set(EWL_TEXT(label), EWL_TEXT_STYLE_SOFT_SHADOW);
@@ -288,7 +288,7 @@
     ewl_widget_show(label);
 
     /* create the entry */
-    o = ewl_entry_new("");
+    o = ewl_entry_new();
     ewl_container_child_append(EWL_CONTAINER(box), o);
     ewl_object_alignment_set(EWL_OBJECT(o), EWL_FLAG_ALIGN_CENTER);
     ewl_object_padding_set(EWL_OBJECT(o), 5, 5, 5, 0);
@@ -417,7 +417,7 @@
 </para>
 
 <programlisting role="C">
-    label = ewl_text_new(NULL);
+    label = ewl_text_new();
     ewl_container_child_append(EWL_CONTAINER(box), label);
     ewl_object_alignment_set(EWL_OBJECT(label), EWL_FLAG_ALIGN_CENTER);
     ewl_text_styles_set(EWL_TEXT(label), EWL_TEXT_STYLE_SOFT_SHADOW);
@@ -465,7 +465,7 @@
 </para>
 
 <programlisting role="C">
-    o = ewl_entry_new("");
+    o = ewl_entry_new();
     ewl_container_child_append(EWL_CONTAINER(box), o);
     ewl_object_alignment_set(EWL_OBJECT(o), EWL_FLAG_ALIGN_CENTER);
     ewl_object_padding_set(EWL_OBJECT(o), 5, 5, 5, 0);




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to