[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
1 changed files with 8 additions and 0 deletions
|
@ -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 "
|
||||
|
|
Loading…
Reference in a new issue