mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 01:36:10 -05:00
docs: Fix the BindConstraint example
A constraint was created but not added to the actor.
This commit is contained in:
parent
00eb71b89a
commit
c65c0f08d8
@ -60,6 +60,7 @@
|
||||
* constraint = clutter_bind_constraint_new (rect[0], CLUTTER_BIND_X, 0.0);
|
||||
* clutter_actor_add_constraint_with_name (rect[2], "blue-x", constraint);
|
||||
* constraint = clutter_bind_constraint_new (rect[0], CLUTTER_BIND_Y, 0.0);
|
||||
* clutter_actor_add_constraint_with_name (rect[2], "blue-y", constraint);
|
||||
* ]|
|
||||
*
|
||||
* The following code animates the second and third rectangles to "expand"
|
||||
|
Loading…
Reference in New Issue
Block a user