Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin Modified Files: ewl_entry_test.c ewl_text_editor_test.c Log Message: - Add ewl_text_clear(Ewl_Text). This is what _insert would do on a NULL before. Make sure it clears out selections and triggers. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_entry_test.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- ewl_entry_test.c 2 Nov 2005 21:41:44 -0000 1.5 +++ ewl_entry_test.c 21 Nov 2005 03:55:47 -0000 1.6 @@ -41,7 +41,8 @@ ewl_text_text_set(EWL_TEXT(entry[0]), "Play with me ?"); ewl_text_text_set(EWL_TEXT(entry[1]), "E W L ! ! !"); - ewl_text_text_set(EWL_TEXT(entry[2]), NULL); + + ewl_text_clear(EWL_TEXT(entry[2])); } void =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_text_editor_test.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- ewl_text_editor_test.c 3 Nov 2005 02:22:29 -0000 1.7 +++ ewl_text_editor_test.c 21 Nov 2005 03:55:47 -0000 1.8 @@ -390,7 +390,7 @@ Ewl_Widget *entry; entry = ewl_widget_name_find("entry"); - ewl_text_text_set(EWL_TEXT(entry), NULL); + ewl_text_clear(EWL_TEXT(entry)); } ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs