Commit 5ad5ce46 authored by Ell's avatar Ell

gegl-dot: a few fixes

In gegl-dot.c, don't set "id" property when constructing the dot
visitor.  Visitors no longer have this property.

In gegl-dot-visitor.c, don't chain up to the visit_{pad,node}()
functions of the base class.  They used to be a NOP before the
last few commits, and now they're NULL.
parent 17306f66
......@@ -79,8 +79,6 @@ gegl_dot_visitor_visit_node (GeglVisitor *visitor,
g_return_val_if_fail (self->priv->string_to_append != NULL, FALSE);
GEGL_VISITOR_CLASS (gegl_dot_visitor_parent_class)->visit_node (visitor, node);
gegl_dot_util_add_node (self->priv->string_to_append, node);
return FALSE;
......@@ -97,8 +95,6 @@ gegl_dot_visitor_visit_pad (GeglVisitor *visitor,
g_return_val_if_fail (self->priv->string_to_append != NULL, FALSE);
GEGL_VISITOR_CLASS (gegl_dot_visitor_parent_class)->visit_pad (visitor, pad);
for (pad_iter = pads; pad_iter; pad_iter = g_slist_next (pad_iter))
GeglPad *pad = GEGL_PAD (pad_iter->data);
......@@ -255,11 +255,8 @@ gegl_dot_add_node_and_dependencies (GString *string,
GeglDotVisitor *dot_visitor;
GeglPad *pad;
gpointer context_id = string;
dot_visitor = g_object_new (GEGL_TYPE_DOT_VISITOR,
"id", context_id,
dot_visitor = g_object_new (GEGL_TYPE_DOT_VISITOR, NULL);
gegl_dot_visitor_set_string_to_append (dot_visitor,
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