mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
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:
parent
a4181a6730
commit
cb794329e7
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user