Commit bb73acbb authored by Michael Natterer's avatar Michael Natterer 😴

app: create an empty node with the gegl:nop operation

so we can safely ask for its name (workaround for GEGL warning).
parent 3550132a
......@@ -248,7 +248,9 @@ gimp_operation_tool_get_operation (GimpImageMapTool *im_tool,
"operation", tool->operation,
NULL);
return g_object_new (GEGL_TYPE_NODE, NULL);
return gegl_node_new_child (NULL,
"operation", "gegl:nop",
NULL);
}
static void
......
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