Commit 036c5aff authored by Michael Natterer's avatar Michael Natterer 😴

app: constify "color" parameter in GimpColorTool::picked()

parent ea34b145
......@@ -62,7 +62,7 @@ static void gimp_color_picker_tool_oper_update (GimpTool *tool,
static void gimp_color_picker_tool_picked (GimpColorTool *color_tool,
GimpColorPickState pick_state,
GimpImageType sample_type,
GimpRGB *color,
const GimpRGB *color,
gint color_index);
static void gimp_color_picker_tool_info_create (GimpColorPickerTool *picker_tool);
......@@ -71,7 +71,7 @@ static void gimp_color_picker_tool_info_response (GtkWidget *widget,
GimpColorPickerTool *picker_tool);
static void gimp_color_picker_tool_info_update (GimpColorPickerTool *picker_tool,
GimpImageType sample_type,
GimpRGB *color,
const GimpRGB *color,
gint color_index);
......@@ -267,7 +267,7 @@ static void
gimp_color_picker_tool_picked (GimpColorTool *color_tool,
GimpColorPickState pick_state,
GimpImageType sample_type,
GimpRGB *color,
const GimpRGB *color,
gint color_index)
{
GimpColorPickerTool *picker_tool = GIMP_COLOR_PICKER_TOOL (color_tool);
......@@ -369,7 +369,7 @@ gimp_color_picker_tool_info_response (GtkWidget *widget,
static void
gimp_color_picker_tool_info_update (GimpColorPickerTool *picker_tool,
GimpImageType sample_type,
GimpRGB *color,
const GimpRGB *color,
gint color_index)
{
gimp_color_area_set_color (GIMP_COLOR_AREA (picker_tool->color_area),
......
......@@ -113,7 +113,7 @@ static void gimp_color_tool_pick (GimpColorTool *tool,
static void gimp_color_tool_real_picked (GimpColorTool *color_tool,
GimpColorPickState pick_state,
GimpImageType sample_type,
GimpRGB *color,
const GimpRGB *color,
gint color_index);
......@@ -597,7 +597,7 @@ static void
gimp_color_tool_real_picked (GimpColorTool *color_tool,
GimpColorPickState pick_state,
GimpImageType sample_type,
GimpRGB *color,
const GimpRGB *color,
gint color_index)
{
GimpTool *tool = GIMP_TOOL (color_tool);
......
......@@ -67,7 +67,7 @@ struct _GimpColorToolClass
void (* picked) (GimpColorTool *tool,
GimpColorPickState pick_state,
GimpImageType sample_type,
GimpRGB *color,
const GimpRGB *color,
gint color_index);
};
......
......@@ -87,7 +87,7 @@ static void gimp_curves_tool_oper_update (GimpTool *tool,
static void gimp_curves_tool_color_picked (GimpColorTool *color_tool,
GimpColorPickState pick_state,
GimpImageType sample_type,
GimpRGB *color,
const GimpRGB *color,
gint color_index);
static GeglNode * gimp_curves_tool_get_operation (GimpImageMapTool *image_map_tool,
GObject **config);
......@@ -359,7 +359,7 @@ static void
gimp_curves_tool_color_picked (GimpColorTool *color_tool,
GimpColorPickState pick_state,
GimpImageType sample_type,
GimpRGB *color,
const GimpRGB *color,
gint color_index)
{
GimpCurvesTool *tool = GIMP_CURVES_TOOL (color_tool);
......
......@@ -77,7 +77,7 @@ static gboolean gimp_levels_tool_initialize (GimpTool *tool,
static void gimp_levels_tool_color_picked (GimpColorTool *color_tool,
GimpColorPickState pick_state,
GimpImageType sample_type,
GimpRGB *color,
const GimpRGB *color,
gint color_index);
static GeglNode * gimp_levels_tool_get_operation (GimpImageMapTool *im_tool,
......@@ -1197,7 +1197,7 @@ static void
gimp_levels_tool_color_picked (GimpColorTool *color_tool,
GimpColorPickState pick_state,
GimpImageType sample_type,
GimpRGB *color,
const GimpRGB *color,
gint color_index)
{
GimpLevelsTool *tool = GIMP_LEVELS_TOOL (color_tool);
......
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