mirror of https://github.com/GNOME/gimp.git
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:
parent
fabcf2ccfe
commit
a5fe6c244f
|
@ -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"),
|
||||
|
|
|
@ -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"),
|
||||
|
|
Loading…
Reference in New Issue