From 8e1e0fc344ca983ec23746db77e3aa047a8de95a Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 27 Aug 2013 15:53:49 -0400 Subject: [PATCH] shaped-texture: Remove bad comment We do not assume ownership of the clip region anymore. --- src/compositor/meta-shaped-texture.c | 4 ++-- src/meta/meta-shaped-texture.h | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/compositor/meta-shaped-texture.c b/src/compositor/meta-shaped-texture.c index d7333a095..0bb6689d2 100644 --- a/src/compositor/meta-shaped-texture.c +++ b/src/compositor/meta-shaped-texture.c @@ -583,8 +583,8 @@ meta_shaped_texture_get_texture (MetaShapedTexture *stex) /** * meta_shaped_texture_set_clip_region: * @stex: a #MetaShapedTexture - * @clip_region: (transfer full): the region of the texture that - * is visible and should be painted. + * @clip_region: the region of the texture that is visible and + * should be painted. * * Provides a hint to the texture about what areas of the texture * are not completely obscured and thus need to be painted. This diff --git a/src/meta/meta-shaped-texture.h b/src/meta/meta-shaped-texture.h index 54a917794..06b119baf 100644 --- a/src/meta/meta-shaped-texture.h +++ b/src/meta/meta-shaped-texture.h @@ -84,7 +84,6 @@ CoglTexture * meta_shaped_texture_get_texture (MetaShapedTexture *stex); void meta_shaped_texture_set_mask_texture (MetaShapedTexture *stex, CoglTexture *mask_texture); -/* Assumes ownership of clip_region */ void meta_shaped_texture_set_clip_region (MetaShapedTexture *stex, cairo_region_t *clip_region);