summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mate-panel/panel-background.c2
-rw-r--r--mate-panel/panel-background.h2
2 files changed, 2 insertions, 2 deletions
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);