Enlightenment CVS committal
Author : kwo
Project : e17
Module : libs/imlib2
Dir : e17/libs/imlib2/src/lib
Modified Files:
api.c
Log Message:
In imlib_render_pixmaps_for_whole_image() and
imlib_render_pixmaps_for_whole_image_at_size()
don't complain about NULL mask_return. A NULL mask_return is handled
appropriately down
the line and simply suppresses rendering of a mask.
===================================================================
RCS file: /cvs/e/e17/libs/imlib2/src/lib/api.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- api.c 6 Sep 2006 07:40:33 -0000 1.9
+++ api.c 20 Oct 2006 18:21:24 -0000 1.10
@@ -1764,7 +1764,7 @@
* Creates a pixmap of the current image (and a mask if the image has
* an alpha value) and return the id's of the pixmap and mask to
* @p pixmap_return and @p mask_return pixmap id's. You must free these
- * pixmaps using Imlib2's free function imlib_free_pixmap_and_mask();.
+ * pixmaps using Imlib2's free function imlib_free_pixmap_and_mask().
*/
EAPI void
imlib_render_pixmaps_for_whole_image(Pixmap * pixmap_return,
@@ -1778,8 +1778,6 @@
ctx->image);
CHECK_PARAM_POINTER("imlib_render_pixmaps_for_whole_image",
"pixmap_return", pixmap_return);
- CHECK_PARAM_POINTER("imlib_render_pixmaps_for_whole_image", "mask_return",
- mask_return);
CAST_IMAGE(im, ctx->image);
if ((!(im->data)) && (im->loader) && (im->loader->load))
im->loader->load(im, NULL, 0, 1);
@@ -1817,8 +1815,6 @@
"image", ctx->image);
CHECK_PARAM_POINTER("imlib_render_pixmaps_for_whole_image_at_size",
"pixmap_return", pixmap_return);
- CHECK_PARAM_POINTER("imlib_render_pixmaps_for_whole_image_at_size",
- "mask_return", mask_return);
CAST_IMAGE(im, ctx->image);
if ((!(im->data)) && (im->loader) && (im->loader->load))
im->loader->load(im, NULL, 0, 1);
-------------------------------------------------------------------------
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