shaped-texture: Remove bad comment

We do not assume ownership of the clip region anymore.
This commit is contained in:
Jasper St. Pierre 2013-08-27 15:53:49 -04:00
parent 7186d0ce55
commit 8e1e0fc344
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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);