gegl r2891 - in trunk: examples operations/common
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r2891 - in trunk: examples operations/common
- Date: Sun, 8 Feb 2009 15:48:49 +0000 (UTC)
Author: martinn
Date: Sun Feb 8 15:48:49 2009
New Revision: 2891
URL: http://svn.gnome.org/viewvc/gegl?rev=2891&view=rev
Log:
Rename gegl:save-buffer to gegl:buffer-sink
Added:
trunk/operations/common/buffer-sink.c
- copied, changed from r2890, /trunk/operations/common/save-buffer.c
Removed:
trunk/operations/common/save-buffer.c
Modified:
trunk/examples/2geglbuffer.c
trunk/operations/common/introspect.c
Modified: trunk/examples/2geglbuffer.c
==============================================================================
--- trunk/examples/2geglbuffer.c (original)
+++ trunk/examples/2geglbuffer.c Sun Feb 8 15:48:49 2009
@@ -25,7 +25,7 @@
"path", argv[1],
NULL);
save_file = gegl_node_new_child (gegl,
- "operation", "gegl:save-buffer",
+ "operation", "gegl:buffer-sink",
"buffer", &buffer,
NULL);
Copied: trunk/operations/common/buffer-sink.c (from r2890, /trunk/operations/common/save-buffer.c)
==============================================================================
--- /trunk/operations/common/save-buffer.c (original)
+++ trunk/operations/common/buffer-sink.c Sun Feb 8 15:48:49 2009
@@ -28,7 +28,7 @@
#else
#define GEGL_CHANT_TYPE_SINK
-#define GEGL_CHANT_C_FILE "save-buffer.c"
+#define GEGL_CHANT_C_FILE "buffer-sink.c"
#include "gegl-chant.h"
@@ -62,7 +62,7 @@
sink_class->process = process;
sink_class->needs_full = TRUE;
- operation_class->name = "gegl:save-buffer";
+ operation_class->name = "gegl:buffer-sink";
operation_class->categories = "programming:output";
operation_class->description = _("A GEGL buffer destination surface.");
}
Modified: trunk/operations/common/introspect.c
==============================================================================
--- trunk/operations/common/introspect.c (original)
+++ trunk/operations/common/introspect.c Sun Feb 8 15:48:49 2009
@@ -146,7 +146,7 @@
/* FIXME
GeglNode *buffer_save;
- buffer_save = gegl_node_new_child (gegl, "operation", "gegl:save-buffer", "buffer", o->buf, NULL);
+ buffer_save = gegl_node_new_child (gegl, "operation", "gegl:buffer-sink", "buffer", o->buf, NULL);
gegl_node_link_many (png_load, buffer_save, NULL);
gegl_node_process (buffer_save);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]