Skip to content

printers: fix cast-to-const warning

Amy requested to merge amyipdev/gnome-control-center:amyipdev-patch-5 into main

This commit was going to resolve a bunch of deprecation from printers, but it turns out that that panel is so heavily dependent on the PPD API that switching it over to CUPS would be a nightmare, and needs a dedicated effort. Would doing that be of any interest to the Printers maintainers?

Until then, this patch simply resolves a warning by reconfiguring the style of a parameter pass and changing an implicit cast to an explicit one.

Edited by Amy

Merge request reports