Whitespace fixes

This commit is contained in:
Emmanuele Bassi 2009-11-13 14:08:49 +00:00
parent 95b55588ad
commit d54f4e944c
2 changed files with 4 additions and 6 deletions

View File

@ -594,8 +594,7 @@ clutter_animation_validate_bind (ClutterAnimation *animation,
return NULL;
}
if (!g_value_type_compatible (G_PARAM_SPEC_VALUE_TYPE (pspec),
argtype))
if (!g_value_type_compatible (G_PARAM_SPEC_VALUE_TYPE (pspec), argtype))
{
g_warning ("Cannot bind property '%s': the interval value of "
"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)));
return NULL;
}
return pspec;
}
@ -681,8 +681,7 @@ clutter_animation_bind (ClutterAnimation *animation,
priv = animation->priv;
type = G_VALUE_TYPE (final);
pspec = clutter_animation_validate_bind (animation, property_name,
type);
pspec = clutter_animation_validate_bind (animation, property_name, type);
if (pspec == NULL)
return NULL;

View File

@ -785,8 +785,7 @@ clutter_script_resolve_animation_mode (const gchar *name)
return animation_modes[i].mode;
}
if (clutter_script_enum_from_string (CLUTTER_TYPE_ANIMATION_MODE,
name, &res))
if (clutter_script_enum_from_string (CLUTTER_TYPE_ANIMATION_MODE, name, &res))
return res;
g_warning ("Unable to find the animation mode '%s'", name);