Commit 829d44d9 authored by Michael Natterer's avatar Michael Natterer 😴
Browse files

app: make "color" parameter of gimp_palettes_add_color_history() const

parent 9a365eaf
......@@ -111,8 +111,8 @@ gimp_palettes_get_color_history (Gimp *gimp)
}
void
gimp_palettes_add_color_history (Gimp *gimp,
GimpRGB *color)
gimp_palettes_add_color_history (Gimp *gimp,
const GimpRGB *color)
{
GimpPalette *history;
......
......@@ -22,14 +22,14 @@
#define __GIMP_PALETTES__
void gimp_palettes_init (Gimp *gimp);
void gimp_palettes_init (Gimp *gimp);
void gimp_palettes_load (Gimp *gimp);
void gimp_palettes_save (Gimp *gimp);
void gimp_palettes_load (Gimp *gimp);
void gimp_palettes_save (Gimp *gimp);
GimpPalette * gimp_palettes_get_color_history (Gimp *gimp);
void gimp_palettes_add_color_history (Gimp *gimp,
GimpRGB *color);
GimpPalette * gimp_palettes_get_color_history (Gimp *gimp);
void gimp_palettes_add_color_history (Gimp *gimp,
const GimpRGB *color);
#endif /* __GIMP_PALETTES__ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment