mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
region-utils: Make transform util const correct
The input should be const, as it will not be altered. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1237
This commit is contained in:
parent
db975bd2a8
commit
03c65b93e6
@ -376,7 +376,7 @@ meta_make_border_region (cairo_region_t *region,
|
|||||||
}
|
}
|
||||||
|
|
||||||
cairo_region_t *
|
cairo_region_t *
|
||||||
meta_region_transform (cairo_region_t *region,
|
meta_region_transform (const cairo_region_t *region,
|
||||||
MetaMonitorTransform transform,
|
MetaMonitorTransform transform,
|
||||||
int width,
|
int width,
|
||||||
int height)
|
int height)
|
||||||
|
@ -106,7 +106,7 @@ cairo_region_t * meta_make_border_region (cairo_region_t *region,
|
|||||||
int y_amount,
|
int y_amount,
|
||||||
gboolean flip);
|
gboolean flip);
|
||||||
|
|
||||||
cairo_region_t * meta_region_transform (cairo_region_t *region,
|
cairo_region_t * meta_region_transform (const cairo_region_t *region,
|
||||||
MetaMonitorTransform transform,
|
MetaMonitorTransform transform,
|
||||||
int width,
|
int width,
|
||||||
int height);
|
int height);
|
||||||
|
Loading…
Reference in New Issue
Block a user