diff options
Diffstat (limited to 'tests/conform/actor-offscreen-limit-max-size.c')
-rw-r--r-- | tests/conform/actor-offscreen-limit-max-size.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/conform/actor-offscreen-limit-max-size.c b/tests/conform/actor-offscreen-limit-max-size.c index 1d17789fe..943c7d8a7 100644 --- a/tests/conform/actor-offscreen-limit-max-size.c +++ b/tests/conform/actor-offscreen-limit-max-size.c @@ -75,10 +75,8 @@ actor_offscreen_limit_max_size (void) return; data.stage = clutter_test_get_stage (); - clutter_stage_set_paint_callback (CLUTTER_STAGE (data.stage), - check_results, - &data, - NULL); + g_signal_connect (data.stage, "after-paint", + G_CALLBACK (check_results), &data); clutter_actor_set_size (data.stage, STAGE_WIDTH, STAGE_HEIGHT); data.actor_group1 = clutter_actor_new (); |