[mutter/wip/shape: 2/6] shaped-texture: Remove bad comment
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/shape: 2/6] shaped-texture: Remove bad comment
- Date: Tue, 27 Aug 2013 20:48:05 +0000 (UTC)
commit 90e4ff0c8e3dc848745292adacc7a30b3499668b
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 d7333a0..0bb6689 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 54a9177..06b119b 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]