clutter-animation: Fix for using fixed:: from clutter_actor_animatev
When using clutter_actor_animatev it would set a boolean whenever a property begins with "fixed::". However it would never clear the variable so it would end up marking all subsequent properties as fixed. http://bugzilla.openedhand.com/show_bug.cgi?id=2180 http://bugzilla.clutter-project.org/show_bug.cgi?id=2149
This commit is contained in:
parent
66d9d48135
commit
8512423f22
@ -1792,7 +1792,6 @@ clutter_animation_setupv (ClutterAnimation *animation,
|
|||||||
ClutterAnimationPrivate *priv = animation->priv;
|
ClutterAnimationPrivate *priv = animation->priv;
|
||||||
ClutterAnimatable *animatable = NULL;
|
ClutterAnimatable *animatable = NULL;
|
||||||
GObjectClass *klass = NULL;
|
GObjectClass *klass = NULL;
|
||||||
gboolean is_fixed = FALSE;
|
|
||||||
gint i;
|
gint i;
|
||||||
|
|
||||||
if (CLUTTER_IS_ANIMATABLE (priv->object))
|
if (CLUTTER_IS_ANIMATABLE (priv->object))
|
||||||
@ -1804,6 +1803,7 @@ clutter_animation_setupv (ClutterAnimation *animation,
|
|||||||
{
|
{
|
||||||
const gchar *property_name = properties[i];
|
const gchar *property_name = properties[i];
|
||||||
GParamSpec *pspec;
|
GParamSpec *pspec;
|
||||||
|
gboolean is_fixed = FALSE;
|
||||||
|
|
||||||
if (g_str_has_prefix (property_name, "fixed::"))
|
if (g_str_has_prefix (property_name, "fixed::"))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user