[gimp] app: fix signature of gimp_curves_tool_color_picked()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: fix signature of gimp_curves_tool_color_picked()
- Date: Tue, 25 Aug 2015 21:52:16 +0000 (UTC)
commit 3ca15939ffd24676bc1be58ca6d7f0a57d09af15
Author: Michael Natterer <mitch gimp org>
Date: Tue Aug 25 23:51:33 2015 +0200
app: fix signature of gimp_curves_tool_color_picked()
which I forgot in yesterday's color picking refactoring.
app/tools/gimpcurvestool.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/app/tools/gimpcurvestool.c b/app/tools/gimpcurvestool.c
index 075d697..a92a8dc 100644
--- a/app/tools/gimpcurvestool.c
+++ b/app/tools/gimpcurvestool.c
@@ -85,8 +85,8 @@ static void gimp_curves_tool_color_picked (GimpColorTool *color_t
gdouble x,
gdouble y,
const Babl *sample_format,
- const GimpRGB *color,
- gint color_index);
+ gpointer pixel,
+ const GimpRGB *color);
static GeglNode * gimp_curves_tool_get_operation (GimpImageMapTool *image_map_tool,
GObject **config,
gchar **undo_desc);
@@ -335,8 +335,8 @@ gimp_curves_tool_color_picked (GimpColorTool *color_tool,
gdouble x,
gdouble y,
const Babl *sample_format,
- const GimpRGB *color,
- gint color_index)
+ gpointer pixel,
+ const GimpRGB *color)
{
GimpCurvesTool *tool = GIMP_CURVES_TOOL (color_tool);
GimpDrawable *drawable;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]