[gnome-shell] test-recorder: Don't use deprecated API
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-shell] test-recorder: Don't use deprecated API
- Date: Tue, 14 Feb 2012 19:04:45 +0000 (UTC)
commit 570a029f275d7aab33eb78607e31593b862476d8
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Feb 13 15:04:50 2012 -0500
    test-recorder: Don't use deprecated API
    
    https://bugzilla.gnome.org/show_bug.cgi?id=670034
 src/test-recorder.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/test-recorder.c b/src/test-recorder.c
index ba5aa74..ee7fcae 100644
--- a/src/test-recorder.c
+++ b/src/test-recorder.c
@@ -44,7 +44,7 @@ int main (int argc, char **argv)
 		       "font-name", "Sans 40px",
 		       "color", &red,
 		       NULL);
-  clutter_container_add_actor (CLUTTER_CONTAINER (stage), text);
+  clutter_actor_add_child (stage, text);
   animation = clutter_actor_animate (text,
 				     CLUTTER_EASE_IN_OUT_QUAD,
 				     3000,
@@ -62,7 +62,7 @@ int main (int argc, char **argv)
 		       "y", 0,
 		       NULL);
   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,
 				     CLUTTER_EASE_IN_OUT_QUAD,
 				     3000,
@@ -78,7 +78,7 @@ int main (int argc, char **argv)
 		       "y", 480,
 		       NULL);
   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,
 				     CLUTTER_EASE_IN_OUT_QUAD,
 				     3000,
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]