app: remove "gboolean linear" parameters

from gimp_applicator_new() and gimp_gegl_mode_node_set_mode().
Compositing doesn't depend on the layer format any longer, only on the
layer mode. Painting with "use applicator" unchecked is still broken
in some cases and needs more fixing.
This commit is contained in:
Michael Natterer
2017-01-18 00:15:55 +01:00
parent b809613be0
commit 1262370544
10 changed files with 18 additions and 40 deletions

View File

@ -163,7 +163,6 @@ _gimp_drawable_add_floating_sel_filter (GimpDrawable *drawable)
GimpLayer *fs = gimp_drawable_get_floating_sel (drawable);
GeglNode *node;
GeglNode *fs_source;
gboolean linear;
if (! private->source_node)
return;
@ -175,7 +174,6 @@ _gimp_drawable_add_floating_sel_filter (GimpDrawable *drawable)
node = gimp_filter_get_node (private->fs_filter);
fs_source = gimp_drawable_get_source_node (GIMP_DRAWABLE (fs));
linear = gimp_drawable_get_linear (GIMP_DRAWABLE (fs));
/* rip the fs' source node out of its graph */
if (fs->layer_offset_node)
@ -187,8 +185,7 @@ _gimp_drawable_add_floating_sel_filter (GimpDrawable *drawable)
gegl_node_add_child (node, fs_source);
private->fs_applicator = gimp_applicator_new (node, linear,
FALSE, FALSE);
private->fs_applicator = gimp_applicator_new (node, FALSE, FALSE);
private->fs_crop_node =
gegl_node_new_child (node,