[mutter] Fix builds with clutter < 1.5.2



commit 5397335ae85ab54a155631a15fafdcc1f881a176
Author: Dan Williams <dcbw redhat com>
Date:   Mon Nov 22 21:59:26 2010 -0600

    Fix builds with clutter < 1.5.2

 src/compositor/meta-window-actor.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c
index 573ce2d..95a84e4 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)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]