Fix builds with clutter < 1.5.2

This commit is contained in:
Dan Williams 2010-11-22 21:59:26 -06:00
parent 0b6d6e517d
commit 5397335ae8

View File

@ -641,6 +641,7 @@ meta_window_actor_get_shape_bounds (MetaWindowActor *self,
bounds->x = bounds->y = bounds->width = bounds->height = 0; bounds->x = bounds->y = bounds->width = bounds->height = 0;
} }
#if CLUTTER_CHECK_VERSION(1, 5, 2)
static void static void
meta_window_actor_get_shadow_bounds (MetaWindowActor *self, meta_window_actor_get_shadow_bounds (MetaWindowActor *self,
gboolean appears_focused, gboolean appears_focused,
@ -661,6 +662,7 @@ meta_window_actor_get_shadow_bounds (MetaWindowActor *self,
shape_bounds.height, shape_bounds.height,
bounds); bounds);
} }
#endif
static void static void
meta_window_actor_paint (ClutterActor *actor) meta_window_actor_paint (ClutterActor *actor)