[gnome-shell/wip/clutter-deprecation-fixes: 3/25] test-theme: Don't use deprecated API



commit 84b61c595bf969679fdb80cbdad7715906d17466
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Feb 13 15:04:42 2012 -0500

    test-theme: Don't use deprecated API

 src/st/test-theme.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/st/test-theme.c b/src/st/test-theme.c
index 73dbc93..d6a8f7b 100644
--- a/src/st/test-theme.c
+++ b/src/st/test-theme.c
@@ -354,7 +354,7 @@ test_pseudo_class (void)
 
   /* Test the StWidget add/remove pseudo_class interfaces */
   label = st_label_new ("foo");
-  clutter_container_add_actor (CLUTTER_CONTAINER (stage), CLUTTER_ACTOR (label));
+  clutter_actor_add_child (stage, CLUTTER_ACTOR (label));
 
   labelNode = st_widget_get_theme_node (label);
   assert_foreground_color (labelNode, "label", 0x000000ff);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]