Commit acc0a97e authored by Jehan's avatar Jehan
Browse files

app: updating the previous commit following enum update in GEGL.

Enums have been renamed to s/GEGL_DISTANCE_FOO/GEGL_DISTANCE_METRIC_FOO/
Make the change in GIMP too.
parent 9b11fb2b
......@@ -89,7 +89,8 @@ gimp_drawable_blend (GimpDrawable *drawable,
* API needs to stay compatible.
*/
shapeburst =
gimp_drawable_blend_shapeburst_distmap (drawable, GEGL_DISTANCE_MANHATTAN,
gimp_drawable_blend_shapeburst_distmap (drawable,
GEGL_DISTANCE_METRIC_MANHATTAN,
GEGL_RECTANGLE (x, y, width, height),
progress);
}
......
......@@ -101,7 +101,7 @@ gimp_blend_options_class_init (GimpBlendOptionsClass *klass)
_("Metric"),
_("Metric to use for the distance calculation"),
GEGL_TYPE_DISTANCE_METRIC,
GEGL_DISTANCE_EUCLIDEAN,
GEGL_DISTANCE_METRIC_EUCLIDEAN,
GIMP_PARAM_STATIC_STRINGS);
GIMP_CONFIG_PROP_ENUM (object_class, PROP_GRADIENT_REPEAT,
"gradient-repeat",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment