summaryrefslogtreecommitdiff
path: root/src/compositor/compositor.c
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2014-06-27 14:33:01 -0400
committerOwen W. Taylor <otaylor@fishsoup.net>2014-07-08 23:09:12 -0400
commit0f214e24eeb7fc73b7816e9512e832e5566375a8 (patch)
tree822f0e561b3bf313e2d67bfc67bb19b2091ab05e /src/compositor/compositor.c
parentcf67327f0edc6cdef07b1346e565507220991c4f (diff)
downloadmutter-wip/quadbuffer-stereo.tar.gz
Switch to using ClutterStage::after-paintwip/quadbuffer-stereo
The experimental API clutter_stage_set_paint_callback() is replaced with an ::after-paint signal as of Clutter 1.19.5.
Diffstat (limited to 'src/compositor/compositor.c')
-rw-r--r--src/compositor/compositor.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c
index 25b677ea0..db7e24503 100644
--- a/src/compositor/compositor.c
+++ b/src/compositor/compositor.c
@@ -668,10 +668,8 @@ meta_compositor_manage_screen (MetaCompositor *compositor,
info->stage = clutter_stage_new ();
- clutter_stage_set_paint_callback (CLUTTER_STAGE (info->stage),
- after_stage_paint,
- info,
- NULL);
+ g_signal_connect (CLUTTER_STAGE (info->stage), "after-paint",
+ G_CALLBACK (after_stage_paint), info);
clutter_stage_set_sync_delay (CLUTTER_STAGE (info->stage), META_SYNC_DELAY);