app: same fix for gimp_drawable_curves_explicit()

whch is about to change anyway, but better start refactoring from
a correct state.
This commit is contained in:
Michael Natterer 2014-06-17 20:31:25 +02:00
parent fabcf2ccfe
commit a5fe6c244f
2 changed files with 6 additions and 6 deletions

View File

@ -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"),

View File

@ -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"),