mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 20:32:16 +00:00
shaped-texture: Remove an unnecessary set to NULL
This commit is contained in:
parent
4ea8b91e0b
commit
84a1b394a1
@ -605,10 +605,7 @@ meta_shaped_texture_set_clip_region (MetaShapedTexture *stex,
|
|||||||
priv = stex->priv;
|
priv = stex->priv;
|
||||||
|
|
||||||
if (priv->clip_region)
|
if (priv->clip_region)
|
||||||
{
|
|
||||||
cairo_region_destroy (priv->clip_region);
|
cairo_region_destroy (priv->clip_region);
|
||||||
priv->clip_region = NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (clip_region)
|
if (clip_region)
|
||||||
priv->clip_region = cairo_region_copy (clip_region);
|
priv->clip_region = cairo_region_copy (clip_region);
|
||||||
|
Loading…
Reference in New Issue
Block a user