Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : docs

Dir     : e17/docs/ewlbook/examples/hello_world


Modified Files:
        main.c 


Log Message:
fix api changes and entry changes

===================================================================
RCS file: /cvsroot/enlightenment/e17/docs/ewlbook/examples/hello_world/main.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- main.c      18 Aug 2004 05:42:47 -0000      1.4
+++ main.c      12 Oct 2004 20:52:18 -0000      1.5
@@ -11,7 +11,7 @@
     Ewl_Widget *label = NULL;
     char buf[BUFSIZ];
 
-    s = ewl_entry_get_text(EWL_ENTRY(w));
+    s = ewl_entry_text_get(EWL_ENTRY(w));
     label = (Ewl_Widget *)data;
 
     snprintf(buf, BUFSIZ, "Hello %s", s);
@@ -62,7 +62,7 @@
     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);
-    ewl_text_color_set(EWL_TEXT(EWL_ENTRY(o)->text), 0, 0, 0, 255);
+    ewl_entry_color_set(EWL_ENTRY(o), 0, 0, 0, 255);
     ewl_callback_append(o, EWL_CALLBACK_VALUE_CHANGED, text_update_cb, label);
     ewl_widget_show(o);
 




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to