app: forgot to s/gimp:normal-mode/gimp:normal/g
This commit is contained in:
@ -445,7 +445,7 @@ gimp_drawable_get_node (GimpFilter *filter)
|
|||||||
|
|
||||||
drawable->private->mode_node =
|
drawable->private->mode_node =
|
||||||
gegl_node_new_child (node,
|
gegl_node_new_child (node,
|
||||||
"operation", "gimp:normal-mode",
|
"operation", "gimp:normal",
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
input = gegl_node_get_input_proxy (node, "input");
|
input = gegl_node_get_input_proxy (node, "input");
|
||||||
|
@ -143,7 +143,7 @@ gimp_gegl_mode_node_set_mode (GeglNode *node,
|
|||||||
GimpLayerMode mode,
|
GimpLayerMode mode,
|
||||||
gboolean linear)
|
gboolean linear)
|
||||||
{
|
{
|
||||||
const gchar *operation = "gimp:normal-mode";
|
const gchar *operation = "gimp:normal";
|
||||||
gdouble opacity;
|
gdouble opacity;
|
||||||
|
|
||||||
g_return_if_fail (GEGL_IS_NODE (node));
|
g_return_if_fail (GEGL_IS_NODE (node));
|
||||||
@ -151,7 +151,7 @@ gimp_gegl_mode_node_set_mode (GeglNode *node,
|
|||||||
switch (mode)
|
switch (mode)
|
||||||
{
|
{
|
||||||
case GIMP_LAYER_MODE_NORMAL:
|
case GIMP_LAYER_MODE_NORMAL:
|
||||||
operation = "gimp:normal-mode";
|
operation = "gimp:normal";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GIMP_LAYER_MODE_DISSOLVE:
|
case GIMP_LAYER_MODE_DISSOLVE:
|
||||||
|
@ -133,7 +133,7 @@ gimp_applicator_new (GeglNode *parent,
|
|||||||
gegl_node_get_output_proxy (applicator->node, "output");
|
gegl_node_get_output_proxy (applicator->node, "output");
|
||||||
|
|
||||||
applicator->mode_node = gegl_node_new_child (applicator->node,
|
applicator->mode_node = gegl_node_new_child (applicator->node,
|
||||||
"operation", "gimp:normal-mode",
|
"operation", "gimp:normal",
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
gimp_gegl_mode_node_set_mode (applicator->mode_node,
|
gimp_gegl_mode_node_set_mode (applicator->mode_node,
|
||||||
|
@ -259,7 +259,8 @@ get_layer_mode_function (GimpLayerMode paint_mode,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
g_warning ("No direct function for layer mode (%d), using gimp:normal-mode", paint_mode);
|
g_warning ("No direct function for layer mode (%d), using gimp:normal",
|
||||||
|
paint_mode);
|
||||||
func = gimp_operation_normal_process_pixels;
|
func = gimp_operation_normal_process_pixels;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -55,7 +55,7 @@ G_DEFINE_TYPE (GimpOperationNormal, gimp_operation_normal,
|
|||||||
|
|
||||||
static const gchar* reference_xml = "<?xml version='1.0' encoding='UTF-8'?>"
|
static const gchar* reference_xml = "<?xml version='1.0' encoding='UTF-8'?>"
|
||||||
"<gegl>"
|
"<gegl>"
|
||||||
"<node operation='gimp:normal-mode'>"
|
"<node operation='gimp:normal'>"
|
||||||
" <node operation='gegl:load'>"
|
" <node operation='gegl:load'>"
|
||||||
" <params>"
|
" <params>"
|
||||||
" <param name='path'>blending-test-B.png</param>"
|
" <param name='path'>blending-test-B.png</param>"
|
||||||
@ -80,7 +80,7 @@ gimp_operation_normal_class_init (GimpOperationNormalClass *klass)
|
|||||||
point_class = GEGL_OPERATION_POINT_COMPOSER3_CLASS (klass);
|
point_class = GEGL_OPERATION_POINT_COMPOSER3_CLASS (klass);
|
||||||
|
|
||||||
gegl_operation_class_set_keys (operation_class,
|
gegl_operation_class_set_keys (operation_class,
|
||||||
"name", "gimp:normal-mode",
|
"name", "gimp:normal",
|
||||||
"description", "GIMP normal mode operation",
|
"description", "GIMP normal mode operation",
|
||||||
"reference-image", "normal-mode.png",
|
"reference-image", "normal-mode.png",
|
||||||
"reference-composition", reference_xml,
|
"reference-composition", reference_xml,
|
||||||
|
Reference in New Issue
Block a user