diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-10-11 02:10:24 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-10-11 02:17:08 +0200 |
commit | 90096832479de04791db5e034df25831b97a828e (patch) | |
tree | 6708b30917122845857d307b84eb208455846b86 /gdk/gdkcairo.c | |
parent | 0afd8be7ef2bbd866c8a714366aba7d05aebed6b (diff) | |
download | gtk+-90096832479de04791db5e034df25831b97a828e.tar.gz |
docs: Region returned by gdk_cairo_region_create_from_surface() should be freed
Diffstat (limited to 'gdk/gdkcairo.c')
-rw-r--r-- | gdk/gdkcairo.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdk/gdkcairo.c b/gdk/gdkcairo.c index 61bfd3cb01..4e7c8ffcb1 100644 --- a/gdk/gdkcairo.c +++ b/gdk/gdkcairo.c @@ -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) { |