summaryrefslogtreecommitdiff
path: root/src/tests/clutter/micro-bench/test-cogl-perf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/clutter/micro-bench/test-cogl-perf.c')
-rw-r--r--src/tests/clutter/micro-bench/test-cogl-perf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/clutter/micro-bench/test-cogl-perf.c b/src/tests/clutter/micro-bench/test-cogl-perf.c
index 1b2c29bbc..fa76806de 100644
--- a/src/tests/clutter/micro-bench/test-cogl-perf.c
+++ b/src/tests/clutter/micro-bench/test-cogl-perf.c
@@ -112,9 +112,9 @@ TestCallback tests[] =
};
static void
-on_paint (ClutterActor *actor,
- ClutterPaintContext *paint_context,
- TestState *state)
+on_after_paint (ClutterActor *actor,
+ ClutterPaintContext *paint_context,
+ TestState *state)
{
tests[state->current_test] (state, paint_context);
}
@@ -152,7 +152,7 @@ main (int argc, char *argv[])
/* We want continuous redrawing of the stage... */
clutter_threads_add_idle (queue_redraw, stage);
- g_signal_connect_after (stage, "paint", G_CALLBACK (on_paint), &state);
+ g_signal_connect (CLUTTER_STAGE (stage), "after-paint", G_CALLBACK (on_after_paint), &state);
clutter_actor_show (stage);