transition: Check if we're setting the same interval
If we do, then don't bother.
This commit is contained in:
parent
b658023324
commit
7b07d4a7c5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user