Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_icon_theme.c Log Message: - remove casts. This should be fixed in ecore_desktop. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_icon_theme.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- ewl_icon_theme.c 16 Aug 2006 15:04:50 -0000 1.1 +++ ewl_icon_theme.c 16 Aug 2006 20:46:09 -0000 1.2 @@ -38,7 +38,7 @@ const char * ewl_icon_theme_icon_path_get(const char *icon, const char *size) { - char *ret; + const char *ret; DENTER_FUNCTION(DLEVEL_STABLE); DCHECK_PARAM_PTR_RET("icon", icon, NULL); @@ -54,8 +54,8 @@ /* XXX Should store a hash of these here so we don't have to keep * looking it up. Just reset the hash on theme change */ - ret = ecore_desktop_icon_find((char *)icon, (char *)size, - ewl_config.theme.icon_theme); + ret = ecore_desktop_icon_find(icon, size, ewl_config.theme.icon_theme); + DRETURN_PTR(ret, DLEVEL_STABLE); } ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs