[mutter/wayland] shaped-texture: Remove bad comment
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] shaped-texture: Remove bad comment
- Date: Thu, 29 Aug 2013 21:06:22 +0000 (UTC)
commit 5b0f0d9e5b48f8f7e3c447ceb55c21ae52942259
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Aug 27 15:53:49 2013 -0400
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 01ff5f7..8a9186a 100644
--- a/src/compositor/meta-shaped-texture.c
+++ b/src/compositor/meta-shaped-texture.c
@@ -947,8 +947,8 @@ meta_shaped_texture_set_input_shape_region (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 d757ced..c7091d7 100644
--- a/src/meta/meta-shaped-texture.h
+++ b/src/meta/meta-shaped-texture.h
@@ -81,7 +81,6 @@ void meta_shaped_texture_set_mask_texture (MetaShapedTexture *stex,
void meta_shaped_texture_set_input_shape_region (MetaShapedTexture *stex,
cairo_region_t *shape_region);
-/* Assumes ownership of clip_region */
void meta_shaped_texture_set_clip_region (MetaShapedTexture *stex,
cairo_region_t *clip_region);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]