mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00: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 *
|
||||
meta_region_transform (cairo_region_t *region,
|
||||
meta_region_transform (const cairo_region_t *region,
|
||||
MetaMonitorTransform transform,
|
||||
int width,
|
||||
int height)
|
||||
|
@ -106,7 +106,7 @@ cairo_region_t * meta_make_border_region (cairo_region_t *region,
|
||||
int y_amount,
|
||||
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,
|
||||
int width,
|
||||
int height);
|
||||
|
Loading…
Reference in New Issue
Block a user