mirror of
https://github.com/brl/mutter.git
synced 2025-01-22 17:38:56 +00:00
shaped-texture: Remove an unnecessary set to NULL
This commit is contained in:
parent
5b0f0d9e5b
commit
1b3c77d53a
@ -969,10 +969,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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user