diff options
Diffstat (limited to 'clutter/tests')
-rw-r--r-- | clutter/tests/interactive/test-actors.c | 1 | ||||
-rw-r--r-- | clutter/tests/interactive/test-bind-constraint.c | 1 | ||||
-rw-r--r-- | clutter/tests/interactive/test-cairo-clock.c | 1 | ||||
-rw-r--r-- | clutter/tests/interactive/test-content.c | 1 | ||||
-rw-r--r-- | clutter/tests/interactive/test-image.c | 1 | ||||
-rw-r--r-- | clutter/tests/interactive/test-rotate-zoom.c | 1 | ||||
-rw-r--r-- | clutter/tests/interactive/test-stage-sizing.c | 21 | ||||
-rw-r--r-- | clutter/tests/interactive/test-state-script.c | 1 | ||||
-rw-r--r-- | clutter/tests/interactive/test-table-layout.c | 1 | ||||
-rw-r--r-- | clutter/tests/interactive/test-touch-events.c | 1 |
10 files changed, 0 insertions, 30 deletions
diff --git a/clutter/tests/interactive/test-actors.c b/clutter/tests/interactive/test-actors.c index b27ee3e3d..ae12d7a08 100644 --- a/clutter/tests/interactive/test-actors.c +++ b/clutter/tests/interactive/test-actors.c @@ -199,7 +199,6 @@ test_actors_main (int argc, char *argv[]) g_signal_connect (oh->stage, "destroy", G_CALLBACK (stop_and_quit), oh); clutter_stage_set_title (CLUTTER_STAGE (oh->stage), "Actors"); - clutter_stage_set_user_resizable (CLUTTER_STAGE (oh->stage), TRUE); /* Create a timeline to manage animation */ oh->timeline = clutter_timeline_new (6000); diff --git a/clutter/tests/interactive/test-bind-constraint.c b/clutter/tests/interactive/test-bind-constraint.c index 4308799ed..f8df31b02 100644 --- a/clutter/tests/interactive/test-bind-constraint.c +++ b/clutter/tests/interactive/test-bind-constraint.c @@ -181,7 +181,6 @@ test_bind_constraint_main (int argc, char *argv[]) stage = clutter_stage_new (); g_signal_connect (stage, "destroy", G_CALLBACK (clutter_main_quit), NULL); clutter_stage_set_title (CLUTTER_STAGE (stage), "Constraints"); - clutter_stage_set_user_resizable (CLUTTER_STAGE (stage), TRUE); clutter_actor_set_size (stage, 800, 600); /* main rectangle */ diff --git a/clutter/tests/interactive/test-cairo-clock.c b/clutter/tests/interactive/test-cairo-clock.c index 8ef4bd934..931282b02 100644 --- a/clutter/tests/interactive/test-cairo-clock.c +++ b/clutter/tests/interactive/test-cairo-clock.c @@ -91,7 +91,6 @@ test_cairo_clock_main (int argc, char *argv[]) /* create a resizable stage */ stage = clutter_stage_new (); clutter_stage_set_title (CLUTTER_STAGE (stage), "2D Clock"); - clutter_stage_set_user_resizable (CLUTTER_STAGE (stage), TRUE); clutter_actor_set_background_color (stage, CLUTTER_COLOR_LightSkyBlue); clutter_actor_set_size (stage, 300, 300); clutter_actor_show (stage); diff --git a/clutter/tests/interactive/test-content.c b/clutter/tests/interactive/test-content.c index 5f84c9218..fa0ac3a2f 100644 --- a/clutter/tests/interactive/test-content.c +++ b/clutter/tests/interactive/test-content.c @@ -181,7 +181,6 @@ test_content_main (int argc, char *argv[]) stage = clutter_stage_new (); clutter_actor_set_name (stage, "Stage"); clutter_stage_set_title (CLUTTER_STAGE (stage), "Content"); - clutter_stage_set_user_resizable (CLUTTER_STAGE (stage), TRUE); g_signal_connect (stage, "destroy", G_CALLBACK (clutter_main_quit), NULL); clutter_actor_show (stage); diff --git a/clutter/tests/interactive/test-image.c b/clutter/tests/interactive/test-image.c index c565dd1fb..a3dc28c26 100644 --- a/clutter/tests/interactive/test-image.c +++ b/clutter/tests/interactive/test-image.c @@ -189,7 +189,6 @@ test_image_main (int argc, char *argv[]) stage = clutter_stage_new (); clutter_actor_set_name (stage, "Stage"); clutter_stage_set_title (CLUTTER_STAGE (stage), "Content"); - clutter_stage_set_user_resizable (CLUTTER_STAGE (stage), TRUE); g_signal_connect (stage, "destroy", G_CALLBACK (clutter_main_quit), NULL); clutter_actor_show (stage); diff --git a/clutter/tests/interactive/test-rotate-zoom.c b/clutter/tests/interactive/test-rotate-zoom.c index 64ae6fce2..071e454b3 100644 --- a/clutter/tests/interactive/test-rotate-zoom.c +++ b/clutter/tests/interactive/test-rotate-zoom.c @@ -73,7 +73,6 @@ test_rotate_zoom_main (int argc, char *argv[]) stage = clutter_stage_new (); g_signal_connect (stage, "destroy", G_CALLBACK (clutter_main_quit), NULL); clutter_stage_set_title (CLUTTER_STAGE (stage), "Rotate and Zoom actions"); - clutter_stage_set_user_resizable (CLUTTER_STAGE (stage), TRUE); clutter_actor_set_size (stage, STAGE_WIDTH, STAGE_HEIGHT); clutter_actor_set_reactive (stage, FALSE); clutter_actor_show (stage); diff --git a/clutter/tests/interactive/test-stage-sizing.c b/clutter/tests/interactive/test-stage-sizing.c index 6c2cce9ef..f739fa4d8 100644 --- a/clutter/tests/interactive/test-stage-sizing.c +++ b/clutter/tests/interactive/test-stage-sizing.c @@ -16,14 +16,6 @@ fullscreen_clicked_cb (ClutterStage *stage) } static gboolean -resize_clicked_cb (ClutterStage *stage) -{ - clutter_stage_set_user_resizable (stage, - !clutter_stage_get_user_resizable (stage)); - return CLUTTER_EVENT_STOP; -} - -static gboolean shrink_clicked_cb (ClutterActor *stage) { gfloat width, height; @@ -94,19 +86,6 @@ test_stage_sizing_main (int argc, char *argv[]) clutter_actor_set_layout_manager (rect, clutter_bin_layout_new (CLUTTER_BIN_ALIGNMENT_CENTER, CLUTTER_BIN_ALIGNMENT_CENTER)); - clutter_actor_set_background_color (rect, CLUTTER_COLOR_Chameleon); - clutter_actor_set_reactive (rect, TRUE); - g_signal_connect_swapped (rect, "button-press-event", - G_CALLBACK (resize_clicked_cb), stage); - label = clutter_text_new_with_text ("Sans 16", "Toggle resizable"); - clutter_actor_set_margin (label, &margin); - clutter_actor_add_child (rect, label); - clutter_actor_add_child (box, rect); - - rect = clutter_actor_new (); - clutter_actor_set_layout_manager (rect, - clutter_bin_layout_new (CLUTTER_BIN_ALIGNMENT_CENTER, - CLUTTER_BIN_ALIGNMENT_CENTER)); clutter_actor_set_background_color (rect, CLUTTER_COLOR_SkyBlue); clutter_actor_set_reactive (rect, TRUE); g_signal_connect_swapped (rect, "button-press-event", diff --git a/clutter/tests/interactive/test-state-script.c b/clutter/tests/interactive/test-state-script.c index bc29b3c4a..66b54b092 100644 --- a/clutter/tests/interactive/test-state-script.c +++ b/clutter/tests/interactive/test-state-script.c @@ -28,7 +28,6 @@ test_state_script_main (int argc, char *argv[]) stage = clutter_stage_new (); clutter_stage_set_title (CLUTTER_STAGE (stage), "State Script"); - clutter_stage_set_user_resizable (CLUTTER_STAGE (stage), TRUE); g_signal_connect (stage, "destroy", G_CALLBACK (clutter_main_quit), NULL); clutter_actor_show (stage); diff --git a/clutter/tests/interactive/test-table-layout.c b/clutter/tests/interactive/test-table-layout.c index b791a97d6..355944b06 100644 --- a/clutter/tests/interactive/test-table-layout.c +++ b/clutter/tests/interactive/test-table-layout.c @@ -179,7 +179,6 @@ test_table_layout_main (int argc, char *argv[]) stage = clutter_stage_new (); clutter_stage_set_title (CLUTTER_STAGE (stage), "Table Layout"); - clutter_stage_set_user_resizable (CLUTTER_STAGE (stage), TRUE); clutter_actor_set_size (stage, 640, 480); g_signal_connect (stage, "destroy", G_CALLBACK (clutter_main_quit), NULL); diff --git a/clutter/tests/interactive/test-touch-events.c b/clutter/tests/interactive/test-touch-events.c index 55c112540..fd23838ca 100644 --- a/clutter/tests/interactive/test-touch-events.c +++ b/clutter/tests/interactive/test-touch-events.c @@ -146,7 +146,6 @@ test_touch_events_main (int argc, char *argv[]) stage = clutter_stage_new (); g_signal_connect (stage, "destroy", G_CALLBACK (clutter_main_quit), NULL); clutter_stage_set_title (CLUTTER_STAGE (stage), "Touch events"); - clutter_stage_set_user_resizable (CLUTTER_STAGE (stage), TRUE); clutter_actor_set_size (stage, STAGE_WIDTH, STAGE_HEIGHT); clutter_actor_set_reactive (stage, TRUE); clutter_actor_show (stage); |