clutter/stage-view: Remove superfluous return in void function

Fixes: 9d3e4fd402 ("clutter/stage-cogl: Use buffer age when view monitor is rotated")
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3473>
This commit is contained in:
Robert Mader 2023-12-28 12:19:22 +01:00 committed by Marge Bot
parent a4181a6730
commit cb794329e7
2 changed files with 10 additions and 10 deletions

View File

@ -216,11 +216,11 @@ clutter_stage_view_transform_rect_to_onscreen (ClutterStageView *view,
{ {
ClutterStageViewClass *view_class = CLUTTER_STAGE_VIEW_GET_CLASS (view); ClutterStageViewClass *view_class = CLUTTER_STAGE_VIEW_GET_CLASS (view);
return view_class->transform_rect_to_onscreen (view, view_class->transform_rect_to_onscreen (view,
src_rect, src_rect,
dst_width, dst_width,
dst_height, dst_height,
dst_rect); dst_rect);
} }
static void static void

View File

@ -112,11 +112,11 @@ meta_renderer_view_transform_rect_to_onscreen (ClutterStageView *view,
MetaRendererViewPrivate *priv = MetaRendererViewPrivate *priv =
meta_renderer_view_get_instance_private (renderer_view); meta_renderer_view_get_instance_private (renderer_view);
return meta_rectangle_transform (src_rect, meta_rectangle_transform (src_rect,
priv->transform, priv->transform,
dst_width, dst_width,
dst_height, dst_height,
dst_rect); dst_rect);
} }
static void static void