test-theme: 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:42 -05:00
parent ce629b09b2
commit ebe72e197d

View File

@ -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);