transition: Check if we're setting the same interval

If we do, then don't bother.
This commit is contained in:
Emmanuele Bassi 2012-06-18 23:00:08 +01:00
parent b658023324
commit 7b07d4a7c5

View File

@ -318,6 +318,9 @@ clutter_transition_set_interval (ClutterTransition *transition,
priv = transition->priv;
if (priv->interval == interval)
return;
g_clear_object (&priv->interval);
if (interval != NULL)