docs: Fix the BindConstraint example

A constraint was created but not added to the actor.
This commit is contained in:
Emmanuele Bassi 2010-07-31 10:39:53 +01:00
parent 00eb71b89a
commit c65c0f08d8

View File

@ -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"