mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 13:30:19 +00:00
docs: Region returned by gdk_cairo_region_create_from_surface() should be freed
This commit is contained in:
parent
0afd8be7ef
commit
9009683247
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user