[gimp] app: same fix for gimp_drawable_curves_explicit()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: same fix for gimp_drawable_curves_explicit()
- Date: Tue, 17 Jun 2014 18:34:19 +0000 (UTC)
commit a5fe6c244fdfb509475bdf5600e8e357636b0c07
Author: Michael Natterer <mitch gimp org>
Date: Tue Jun 17 20:31:25 2014 +0200
app: same fix for gimp_drawable_curves_explicit()
whch is about to change anyway, but better start refactoring from
a correct state.
app/pdb/drawable-color-cmds.c | 6 +++---
tools/pdbgen/pdb/drawable_color.pdb | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/app/pdb/drawable-color-cmds.c b/app/pdb/drawable-color-cmds.c
index 6a12875..09d13ad 100644
--- a/app/pdb/drawable-color-cmds.c
+++ b/app/pdb/drawable-color-cmds.c
@@ -228,9 +228,9 @@ drawable_curves_explicit_invoker (GimpProcedure *procedure,
(! gimp_drawable_is_gray (drawable) ||
channel == GIMP_HISTOGRAM_VALUE || channel == GIMP_HISTOGRAM_ALPHA))
{
- GObject *config = gimp_curves_config_new_spline (channel,
- curve,
- num_bytes);
+ GObject *config = gimp_curves_config_new_explicit (channel,
+ curve,
+ num_bytes);
gimp_drawable_apply_operation_by_name (drawable, progress,
C_("undo-type", "Curves"),
diff --git a/tools/pdbgen/pdb/drawable_color.pdb b/tools/pdbgen/pdb/drawable_color.pdb
index 92de380..029c642 100644
--- a/tools/pdbgen/pdb/drawable_color.pdb
+++ b/tools/pdbgen/pdb/drawable_color.pdb
@@ -216,9 +216,9 @@ HELP
(! gimp_drawable_is_gray (drawable) ||
channel == GIMP_HISTOGRAM_VALUE || channel == GIMP_HISTOGRAM_ALPHA))
{
- GObject *config = gimp_curves_config_new_spline (channel,
- curve,
- num_bytes);
+ GObject *config = gimp_curves_config_new_explicit (channel,
+ curve,
+ num_bytes);
gimp_drawable_apply_operation_by_name (drawable, progress,
C_("undo-type", "Curves"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]