mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
[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;
|
||||
}
|
||||
|
||||
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 New Issue
Block a user