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 "
g_type_name (G_PARAM_SPEC_VALUE_TYPE (pspec)));
return NULL;
}
+
return pspec;
}
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;
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);