Commit 77aa2b50 authored by Øyvind Kolås's avatar Øyvind Kolås

Changes to not quite functional code.

	* gegl/gegl-operation-meta.h:
	* operations/meta/dropshadow.c: (associate):
parent 80e96e0c
2006-11-03 Øyvind Kolås <pippin@gimp.org>
Changes to not quite functional code.
* gegl/gegl-operation-meta.h:
* operations/meta/dropshadow.c: (associate):
2006-11-03 Øyvind Kolås <pippin@gimp.org>
* operations/meta/dropshadow.c: (associate): use new API instead.
......
......@@ -48,8 +48,15 @@ struct _GeglOperationMetaClass
GeglOperationClass operation_class;
};
GType gegl_operation_meta_get_type (void) G_GNUC_CONST;
void gegl_operation_meta_redirect (GeglOperation *operation,
const gchar *name,
void *data,
GeglNode *internal,
const gchar *internal_name);
#ifdef __cplusplus
}
#endif /* __cplusplus */
......
......@@ -123,10 +123,10 @@ static void associate (GeglOperation *operation)
gegl_node_connect (priv->over, "aux", priv->input, "output");
gegl_node_connect (priv->darken, "aux", priv->black, "output");
gegl_operation_meta_redirect (self, "radius", &self->radius, priv->blur, "radius-x");
gegl_operation_meta_redirect (self, "radius", &self->radius, priv->blur, "radius-y");
gegl_operation_meta_redirect (self, "x", &self->x, priv->translate, "x");
gegl_operation_meta_redirect (self, "y", &self->y, priv->translate, "y");
gegl_operation_meta_redirect (operation, "radius", &self->radius, priv->blur, "radius-x");
gegl_operation_meta_redirect (operation, "radius", &self->radius, priv->blur, "radius-y");
gegl_operation_meta_redirect (operation, "x", &self->x, priv->translate, "x");
gegl_operation_meta_redirect (operation, "y", &self->y, priv->translate, "y");
}
}
......
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