Enlightenment CVS committal Author : rbdpngn Project : e17 Module : docs
Dir : e17/docs/ewlbook/examples/hello_world Modified Files: main.c Log Message: Update documentation to latest EWL API. =================================================================== RCS file: /cvsroot/enlightenment/e17/docs/ewlbook/examples/hello_world/main.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- main.c 12 Oct 2004 20:52:18 -0000 1.5 +++ main.c 3 Oct 2005 18:55:32 -0000 1.6 @@ -49,7 +49,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_style_set(EWL_TEXT(label), "soft_shadow"); @@ -58,7 +58,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); ------------------------------------------------------- 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