Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_image.c ewl_image.h
Log Message:
- make param const
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_image.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -3 -r1.40 -r1.41
--- ewl_image.c 21 May 2006 03:51:41 -0000 1.40
+++ ewl_image.c 23 May 2006 05:13:04 -0000 1.41
@@ -557,7 +557,7 @@
* given by @a path.
*/
void
-ewl_image_thumbnail_request(Ewl_Image_Thumbnail *thumb, char *path)
+ewl_image_thumbnail_request(Ewl_Image_Thumbnail *thumb, const char *path)
{
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR("thumb", thumb);
@@ -565,7 +565,7 @@
DCHECK_PARAM_PTR("path", path);
#ifdef BUILD_EPSILON_SUPPORT
- thumb->thumb = epsilon_add(path, NULL, EPSILON_THUMB_NORMAL, thumb);
+ thumb->thumb = epsilon_add((char *)path, NULL, EPSILON_THUMB_NORMAL,
thumb);
#else
thumb->thumb = NULL;
#endif
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_image.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- ewl_image.h 11 May 2006 04:01:20 -0000 1.25
+++ ewl_image.h 23 May 2006 05:13:04 -0000 1.26
@@ -127,7 +127,7 @@
Ewl_Widget *ewl_image_thumbnail_new(void);
int ewl_image_thumbnail_init(Ewl_Image_Thumbnail *image);
void ewl_image_thumbnail_request(Ewl_Image_Thumbnail *thumb,
- char *path);
+ const char *path);
/*
* Internally used callbacks, override at your own risk.
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs