Skip to content
  • Neil Roberts's avatar
    Fix some *_set functions so they work if the object is the same value · 39f4848b
    Neil Roberts authored
    Bug 1392 - behaviour_set_alpha set same alpha twice lead to warning
    and destroy the input alpha
    
    The following functions are fixed:
    
    clutter_actor_set_shader
    clutter_alpha_set_timeline
    clutter_behaviour_set_alpha
    clutter_clone_texture_set_parent_texture
    
    They either now reference the new value before destroying the old
    value, or just return immediately if the values are the same.
    39f4848b