From 5397335ae85ab54a155631a15fafdcc1f881a176 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Mon, 22 Nov 2010 21:59:26 -0600 Subject: [PATCH] Fix builds with clutter < 1.5.2 --- src/compositor/meta-window-actor.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c index 573ce2db0..95a84e412 100644 --- a/src/compositor/meta-window-actor.c +++ b/src/compositor/meta-window-actor.c @@ -641,6 +641,7 @@ meta_window_actor_get_shape_bounds (MetaWindowActor *self, bounds->x = bounds->y = bounds->width = bounds->height = 0; } +#if CLUTTER_CHECK_VERSION(1, 5, 2) static void meta_window_actor_get_shadow_bounds (MetaWindowActor *self, gboolean appears_focused, @@ -661,6 +662,7 @@ meta_window_actor_get_shadow_bounds (MetaWindowActor *self, shape_bounds.height, bounds); } +#endif static void meta_window_actor_paint (ClutterActor *actor)