docs: Fix the BindConstraint example
authorEmmanuele Bassi <ebassi@linux.intel.com>
Sat, 31 Jul 2010 09:39:53 +0000 (10:39 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Sat, 31 Jul 2010 09:39:53 +0000 (10:39 +0100)
A constraint was created but not added to the actor.

clutter/clutter-bind-constraint.c

index 2083615..1603f7f 100644 (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"