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 9816659fa9
commit 5b0f0d9e5b
2 changed files with 2 additions and 3 deletions

View File

@ -947,8 +947,8 @@ meta_shaped_texture_set_input_shape_region (MetaShapedTexture *stex,
/** /**
* meta_shaped_texture_set_clip_region: * meta_shaped_texture_set_clip_region:
* @stex: a #MetaShapedTexture * @stex: a #MetaShapedTexture
* @clip_region: (transfer full): the region of the texture that * @clip_region: the region of the texture that is visible and
* is visible and should be painted. * should be painted.
* *
* Provides a hint to the texture about what areas of the texture * Provides a hint to the texture about what areas of the texture
* are not completely obscured and thus need to be painted. This * are not completely obscured and thus need to be painted. This

View File

@ -81,7 +81,6 @@ void meta_shaped_texture_set_mask_texture (MetaShapedTexture *stex,
void meta_shaped_texture_set_input_shape_region (MetaShapedTexture *stex, void meta_shaped_texture_set_input_shape_region (MetaShapedTexture *stex,
cairo_region_t *shape_region); cairo_region_t *shape_region);
/* Assumes ownership of clip_region */
void meta_shaped_texture_set_clip_region (MetaShapedTexture *stex, void meta_shaped_texture_set_clip_region (MetaShapedTexture *stex,
cairo_region_t *clip_region); cairo_region_t *clip_region);