cookbook: Modified COGL example for consistency

Changed the stage size so the COGL API example for cross-fade
has a stage the same size as the two texture example.
This commit is contained in:
Elliot Smith 2010-08-17 15:47:59 +01:00
parent e54d3e716b
commit c492faecb2

View File

@ -139,7 +139,7 @@ main (int argc, char *argv[])
*/ */
ClutterActor *stage = clutter_stage_get_default (); ClutterActor *stage = clutter_stage_get_default ();
clutter_stage_set_title (CLUTTER_STAGE (stage), "cross-fade"); clutter_stage_set_title (CLUTTER_STAGE (stage), "cross-fade");
clutter_actor_set_size (stage, 600, 600); clutter_actor_set_size (stage, 400, 300);
clutter_actor_show (stage); clutter_actor_show (stage);
g_signal_connect (stage, "destroy", G_CALLBACK (clutter_main_quit), NULL); g_signal_connect (stage, "destroy", G_CALLBACK (clutter_main_quit), NULL);