From 1b15e2f5f6d33bd8139636a3c6f72fd07d3e5d7b Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Wed, 15 Nov 2023 15:31:00 +0100 Subject: Constify a parameter --- mate-panel/panel-background.c | 2 +- mate-panel/panel-background.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'mate-panel') diff --git a/mate-panel/panel-background.c b/mate-panel/panel-background.c index 139a50a3..b5c475d7 100644 --- a/mate-panel/panel-background.c +++ b/mate-panel/panel-background.c @@ -598,7 +598,7 @@ panel_background_set (PanelBackground *background, void panel_background_set_default_style (PanelBackground *background, - GdkRGBA *color, + const GdkRGBA *color, cairo_pattern_t *pattern) { g_return_if_fail (color != NULL); diff --git a/mate-panel/panel-background.h b/mate-panel/panel-background.h index 9a9f5ced..8d360776 100644 --- a/mate-panel/panel-background.h +++ b/mate-panel/panel-background.h @@ -95,7 +95,7 @@ void panel_background_set_stretch (PanelBackground *background, void panel_background_set_rotate (PanelBackground *background, gboolean rotate_image); void panel_background_set_default_style (PanelBackground *background, - GdkRGBA *color, + const GdkRGBA *color, cairo_pattern_t *pattern); void panel_background_realized (PanelBackground *background, GdkWindow *window); -- cgit v1.2.1