cookbook: Begin porting examples to the new API
Start dropping the usage of deprecated classes and API.
This commit is contained in:
@ -70,7 +70,7 @@ main (int argc,
|
||||
clutter_actor_add_constraint (button, align_x_constraint);
|
||||
clutter_actor_add_constraint (button, align_y_constraint);
|
||||
|
||||
clutter_container_add_actor (CLUTTER_CONTAINER (stage), button);
|
||||
clutter_actor_add_child (stage, button);
|
||||
|
||||
clutter_actor_show (stage);
|
||||
|
||||
|
Reference in New Issue
Block a user