Enlightenment CVS committal Author : ningerso Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/widget Modified Files: ewl_widget.c Log Message: Rename new to create since new is a reserved keyword in some valid compilers. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/widget/ewl_widget.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -3 -r1.12 -r1.13 --- ewl_widget.c 10 Nov 2007 19:11:17 -0000 1.12 +++ ewl_widget.c 10 Nov 2007 21:43:16 -0000 1.13 @@ -118,7 +118,7 @@ static int data_test_set_get(char *buf, int len); static int data_test_set_remove(char *buf, int len); -static int new(char *buf, int len); +static int widget_new(char *buf, int len); static int init(char *buf, int len); static int show(char *buf, int len); static int realize(char *buf, int len); @@ -138,7 +138,7 @@ {"widget clipped set/get", clipped_test_set_get, -1, NULL}, {"widget data set/get", data_test_set_get, -1, NULL}, {"widget data set/remove", data_test_set_remove, -1, NULL}, - {"widget_new", new, -1, NULL}, + {"widget_new", widget_new, -1, NULL}, {"widget_init state", init, -1, NULL}, {"widget_show state", show, -1, NULL}, {"widget_realize state", realize, -1, NULL}, @@ -408,7 +408,7 @@ } static int -new(char *buf, int len) +widget_new(char *buf, int len) { Ewl_Widget *w; int ret = 0; ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs