test-flow-layout: Remove unneeded Stage sizing
The bug with resizable stages getting a 1, 1 window on X11 has been fixed by Chris.
This commit is contained in:
parent
6106010b6f
commit
8ac27e6070
@ -103,7 +103,6 @@ test_flow_layout_main (int argc, char *argv[])
|
|||||||
clutter_stage_set_title (CLUTTER_STAGE (stage), "Flow Layout");
|
clutter_stage_set_title (CLUTTER_STAGE (stage), "Flow Layout");
|
||||||
clutter_stage_set_color (CLUTTER_STAGE (stage), &stage_color);
|
clutter_stage_set_color (CLUTTER_STAGE (stage), &stage_color);
|
||||||
clutter_stage_set_user_resizable (CLUTTER_STAGE (stage), TRUE);
|
clutter_stage_set_user_resizable (CLUTTER_STAGE (stage), TRUE);
|
||||||
clutter_actor_set_size (stage, 640, 480);
|
|
||||||
|
|
||||||
layout = clutter_flow_layout_new (vertical ? CLUTTER_FLOW_VERTICAL
|
layout = clutter_flow_layout_new (vertical ? CLUTTER_FLOW_VERTICAL
|
||||||
: CLUTTER_FLOW_HORIZONTAL);
|
: CLUTTER_FLOW_HORIZONTAL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user