diff --git a/clutter/clutter/clutter-paint-volume-private.h b/clutter/clutter/clutter-paint-volume-private.h index a54218460..accaa4835 100644 --- a/clutter/clutter/clutter-paint-volume-private.h +++ b/clutter/clutter/clutter-paint-volume-private.h @@ -126,9 +126,9 @@ void _clutter_paint_volume_set_reference_actor (ClutterPaintVolu ClutterCullResult _clutter_paint_volume_cull (ClutterPaintVolume *pv, const graphene_frustum_t *frustum); -void _clutter_paint_volume_get_stage_paint_box (ClutterPaintVolume *pv, - ClutterStage *stage, - ClutterActorBox *box); +void _clutter_paint_volume_get_stage_paint_box (const ClutterPaintVolume *pv, + ClutterStage *stage, + ClutterActorBox *box); void _clutter_paint_volume_transform_relative (ClutterPaintVolume *pv, ClutterActor *relative_to_ancestor); diff --git a/clutter/clutter/clutter-paint-volume.c b/clutter/clutter/clutter-paint-volume.c index dbec4d130..e2f273ef3 100644 --- a/clutter/clutter/clutter-paint-volume.c +++ b/clutter/clutter/clutter-paint-volume.c @@ -1029,9 +1029,9 @@ _clutter_paint_volume_cull (ClutterPaintVolume *pv, } void -_clutter_paint_volume_get_stage_paint_box (ClutterPaintVolume *pv, - ClutterStage *stage, - ClutterActorBox *box) +_clutter_paint_volume_get_stage_paint_box (const ClutterPaintVolume *pv, + ClutterStage *stage, + ClutterActorBox *box) { ClutterPaintVolume projected_pv; graphene_matrix_t modelview;