test-recorder: Don't use deprecated API

https://bugzilla.gnome.org/show_bug.cgi?id=670034
This commit is contained in:
Jasper St. Pierre 2012-02-13 15:04:50 -05:00
parent ebe72e197d
commit 570a029f27

View File

@ -44,7 +44,7 @@ int main (int argc, char **argv)
"font-name", "Sans 40px", "font-name", "Sans 40px",
"color", &red, "color", &red,
NULL); NULL);
clutter_container_add_actor (CLUTTER_CONTAINER (stage), text); clutter_actor_add_child (stage, text);
animation = clutter_actor_animate (text, animation = clutter_actor_animate (text,
CLUTTER_EASE_IN_OUT_QUAD, CLUTTER_EASE_IN_OUT_QUAD,
3000, 3000,
@ -62,7 +62,7 @@ int main (int argc, char **argv)
"y", 0, "y", 0,
NULL); NULL);
clutter_actor_set_anchor_point_from_gravity (text, CLUTTER_GRAVITY_NORTH_EAST); clutter_actor_set_anchor_point_from_gravity (text, CLUTTER_GRAVITY_NORTH_EAST);
clutter_container_add_actor (CLUTTER_CONTAINER (stage), text); clutter_actor_add_child (stage, text);
animation = clutter_actor_animate (text, animation = clutter_actor_animate (text,
CLUTTER_EASE_IN_OUT_QUAD, CLUTTER_EASE_IN_OUT_QUAD,
3000, 3000,
@ -78,7 +78,7 @@ int main (int argc, char **argv)
"y", 480, "y", 480,
NULL); NULL);
clutter_actor_set_anchor_point_from_gravity (text, CLUTTER_GRAVITY_SOUTH_WEST); clutter_actor_set_anchor_point_from_gravity (text, CLUTTER_GRAVITY_SOUTH_WEST);
clutter_container_add_actor (CLUTTER_CONTAINER (stage), text); clutter_actor_add_child (stage, text);
animation = clutter_actor_animate (text, animation = clutter_actor_animate (text,
CLUTTER_EASE_IN_OUT_QUAD, CLUTTER_EASE_IN_OUT_QUAD,
3000, 3000,