[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:
parent
8f59f25beb
commit
0c7e4172ab
@ -1180,6 +1180,14 @@ clutter_animation_setup_valist (ClutterAnimation *animation,
|
|||||||
break;
|
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))
|
if (!(pspec->flags & G_PARAM_WRITABLE))
|
||||||
{
|
{
|
||||||
g_warning ("Cannot bind property `%s': the property is "
|
g_warning ("Cannot bind property `%s': the property is "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user