[mutter] Switch to using ClutterStage::after-paint
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] Switch to using ClutterStage::after-paint
- Date: Fri, 27 Jun 2014 18:40:54 +0000 (UTC)
commit bc510378b38244fa4535dbdbc23b92621dc24663
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Fri Jun 27 14:33:01 2014 -0400
Switch to using ClutterStage::after-paint
The experimental API clutter_stage_set_paint_callback() is replaced
with an ::after-paint signal as of Clutter 1.19.5.
configure.ac | 2 +-
src/compositor/compositor.c | 6 ++----
2 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a21b442..c5ecc74 100644
--- a/configure.ac
+++ b/configure.ac
@@ -78,7 +78,7 @@ MUTTER_PC_MODULES="
gsettings-desktop-schemas >= 3.7.3
xcomposite >= 0.2 xfixes xext xdamage xi >= 1.6.0
xcursor
- $CLUTTER_PACKAGE >= 1.17.5
+ $CLUTTER_PACKAGE >= 1.19.5
clutter-wayland-1.0
clutter-wayland-compositor-1.0
clutter-egl-1.0
diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c
index c84a1c6..88a2016 100644
--- a/src/compositor/compositor.c
+++ b/src/compositor/compositor.c
@@ -528,10 +528,8 @@ meta_compositor_manage (MetaCompositor *compositor)
}
}
- clutter_stage_set_paint_callback (CLUTTER_STAGE (compositor->stage),
- after_stage_paint,
- compositor,
- NULL);
+ g_signal_connect (CLUTTER_STAGE (compositor->stage), "after-paint",
+ G_CALLBACK (after_stage_paint), compositor);
clutter_stage_set_sync_delay (CLUTTER_STAGE (compositor->stage), META_SYNC_DELAY);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]