[cairo-commit] src/cairo-image-surface.c

Carl Worth cworth at kemper.freedesktop.org
Thu Apr 27 05:48:25 PDT 2006


 src/cairo-image-surface.c |    3 +++
 1 files changed, 3 insertions(+)

New commits:
diff-tree 09a51a4e037473fc104c788c87730b7e97d9fd26 (from 08733a2228ac4b2739355b536adf955d982a40f0)
Author: Carl Worth <cworth at cworth.org>
Date:   Thu Apr 27 05:44:57 2006 -0700

    Add reference to cairo_surface_set_user_data in docs. for cairo_image_surface_create_for_data

diff --git a/src/cairo-image-surface.c b/src/cairo-image-surface.c
index cef455b..adf2e7c 100644
--- a/src/cairo-image-surface.c
+++ b/src/cairo-image-surface.c
@@ -271,6 +271,9 @@ _cairo_image_surface_create_with_content
  * This function always returns a valid pointer, but it will return a
  * pointer to a "nil" surface if an error such as out of memory
  * occurs. You can use cairo_surface_status() to check for this.
+ *
+ * See cairo_surface_set_user_data() for a means of attaching a
+ * destroy-notification fallback to the surface if necessary.
  **/
 cairo_surface_t *
 cairo_image_surface_create_for_data (unsigned char     *data,


More information about the cairo-commit mailing list