mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 17:29:31 +00:00
shaped-texture: Remove an unnecessary set to NULL
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
if (clip_region)
|
||||
priv->clip_region = cairo_region_copy (clip_region);
|
||||
|
Reference in New Issue
Block a user