[mutter] shaped-texture: Remove an unnecessary set to NULL
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] shaped-texture: Remove an unnecessary set to NULL
- Date: Tue, 27 Aug 2013 21:18:56 +0000 (UTC)
commit 84a1b394a15f124bb4cb6faac112423ef3fbf242
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Aug 27 17:17:15 2013 -0400
shaped-texture: Remove an unnecessary set to NULL
src/compositor/meta-shaped-texture.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/compositor/meta-shaped-texture.c b/src/compositor/meta-shaped-texture.c
index 79e515e..385f80a 100644
--- a/src/compositor/meta-shaped-texture.c
+++ b/src/compositor/meta-shaped-texture.c
@@ -605,10 +605,7 @@ meta_shaped_texture_set_clip_region (MetaShapedTexture *stex,
priv = stex->priv;
if (priv->clip_region)
- {
- cairo_region_destroy (priv->clip_region);
- priv->clip_region = NULL;
- }
+ cairo_region_destroy (priv->clip_region);
if (clip_region)
priv->clip_region = cairo_region_copy (clip_region);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]