docs: Region returned by gdk_cairo_region_create_from_surface() should be freed

This commit is contained in:
Javier Jardón 2010-10-11 02:10:24 +02:00
parent 0afd8be7ef
commit 9009683247

View File

@ -418,8 +418,9 @@ _gdk_cairo_surface_extents (cairo_surface_t *surface,
* is more than 50% opaque. This function takes into account device
* offsets that might be set with cairo_surface_set_device_offset().
*
* Returns: A new region
**/
* Returns: A #cairo_region_t. This must be freed with cairo_region_destroy()
* when you are done.
*/
cairo_region_t *
gdk_cairo_region_create_from_surface (cairo_surface_t *surface)
{