Whitespace fixes
This commit is contained in:
parent
95b55588ad
commit
d54f4e944c
@ -594,8 +594,7 @@ clutter_animation_validate_bind (ClutterAnimation *animation,
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!g_value_type_compatible (G_PARAM_SPEC_VALUE_TYPE (pspec),
|
if (!g_value_type_compatible (G_PARAM_SPEC_VALUE_TYPE (pspec), argtype))
|
||||||
argtype))
|
|
||||||
{
|
{
|
||||||
g_warning ("Cannot bind property '%s': the interval value of "
|
g_warning ("Cannot bind property '%s': the interval value of "
|
||||||
"type '%s' is not compatible with the property value "
|
"type '%s' is not compatible with the property value "
|
||||||
@ -605,6 +604,7 @@ clutter_animation_validate_bind (ClutterAnimation *animation,
|
|||||||
g_type_name (G_PARAM_SPEC_VALUE_TYPE (pspec)));
|
g_type_name (G_PARAM_SPEC_VALUE_TYPE (pspec)));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return pspec;
|
return pspec;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -681,8 +681,7 @@ clutter_animation_bind (ClutterAnimation *animation,
|
|||||||
priv = animation->priv;
|
priv = animation->priv;
|
||||||
|
|
||||||
type = G_VALUE_TYPE (final);
|
type = G_VALUE_TYPE (final);
|
||||||
pspec = clutter_animation_validate_bind (animation, property_name,
|
pspec = clutter_animation_validate_bind (animation, property_name, type);
|
||||||
type);
|
|
||||||
if (pspec == NULL)
|
if (pspec == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
@ -785,8 +785,7 @@ clutter_script_resolve_animation_mode (const gchar *name)
|
|||||||
return animation_modes[i].mode;
|
return animation_modes[i].mode;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (clutter_script_enum_from_string (CLUTTER_TYPE_ANIMATION_MODE,
|
if (clutter_script_enum_from_string (CLUTTER_TYPE_ANIMATION_MODE, name, &res))
|
||||||
name, &res))
|
|
||||||
return res;
|
return res;
|
||||||
|
|
||||||
g_warning ("Unable to find the animation mode '%s'", name);
|
g_warning ("Unable to find the animation mode '%s'", name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user