shaped-texture: Remove an unnecessary set to NULL

This commit is contained in:
Jasper St. Pierre 2013-08-27 17:17:15 -04:00
parent 4ea8b91e0b
commit 84a1b394a1

View File

@ -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);