[gegl] gegl-dot: a few fixes
- From: N/A <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gegl-dot: a few fixes
- Date: Fri, 10 Nov 2017 07:58:02 +0000 (UTC)
commit 5ad5ce46e6ca1e5f70080e44b8d9dc1c6be24d58
Author: Ell <ell_se yahoo com>
Date: Fri Nov 10 02:32:11 2017 -0500
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.
gegl/gegl-dot-visitor.c | 4 ----
gegl/gegl-dot.c | 5 +----
2 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/gegl/gegl-dot-visitor.c b/gegl/gegl-dot-visitor.c
index da1de4f..e65ab66 100644
--- a/gegl/gegl-dot-visitor.c
+++ b/gegl/gegl-dot-visitor.c
@@ -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);
diff --git a/gegl/gegl-dot.c b/gegl/gegl-dot.c
index 116e36a..40c50b9 100644
--- a/gegl/gegl-dot.c
+++ b/gegl/gegl-dot.c
@@ -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,
- NULL);
+ dot_visitor = g_object_new (GEGL_TYPE_DOT_VISITOR, NULL);
gegl_dot_visitor_set_string_to_append (dot_visitor,
string);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]