cookbook: Don't need to set keep-aspect-ratio for simple example

This commit is contained in:
Elliot Smith 2010-08-17 11:20:20 +01:00
parent 1b2606a850
commit 1e4578d1dd

View File

@ -88,10 +88,7 @@ main (int argc, char *argv[])
clutter_actor_set_size (box, 600, 600); clutter_actor_set_size (box, 600, 600);
back = clutter_texture_new (); back = clutter_texture_new ();
clutter_texture_set_keep_aspect_ratio (CLUTTER_TEXTURE (back), TRUE);
front = clutter_texture_new (); front = clutter_texture_new ();
clutter_texture_set_keep_aspect_ratio (CLUTTER_TEXTURE (front), TRUE);
clutter_container_add_actor (CLUTTER_CONTAINER (box), back); clutter_container_add_actor (CLUTTER_CONTAINER (box), back);
clutter_container_add_actor (CLUTTER_CONTAINER (box), front); clutter_container_add_actor (CLUTTER_CONTAINER (box), front);