1
0
Fork 0

[animation] Do not bind construct-only properties

ClutterAnimation should not try to bind construct-only properties,
since it only manipulates existing instances.
This commit is contained in:
Emmanuele Bassi 2009-02-16 11:02:20 +00:00
parent 8f59f25beb
commit 0c7e4172ab

View file

@ -1180,6 +1180,14 @@ clutter_animation_setup_valist (ClutterAnimation *animation,
break;
}
if (pspec->flags & G_PARAM_CONSTRUCT_ONLY)
{
g_warning ("Cannot bind property `%s': the property is "
"construct-only",
property_name);
break;
}
if (!(pspec->flags & G_PARAM_WRITABLE))
{
g_warning ("Cannot bind property `%s': the property is "