From ebe72e197d1e2b2084db2a7a59edde0abe031f56 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Mon, 13 Feb 2012 15:04:42 -0500 Subject: [PATCH] test-theme: Don't use deprecated API https://bugzilla.gnome.org/show_bug.cgi?id=670034 --- src/st/test-theme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/st/test-theme.c b/src/st/test-theme.c index 73dbc93a4..d6a8f7b3e 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);