gegl r2889 - in trunk: examples operations/common



Author: martinn
Date: Sun Feb  8 15:48:41 2009
New Revision: 2889
URL: http://svn.gnome.org/viewvc/gegl?rev=2889&view=rev

Log:
Rename gegl:load-buffer to gegl:buffer-source

Added:
   trunk/operations/common/buffer-source.c
      - copied, changed from r2888, /trunk/operations/common/load-buffer.c
Removed:
   trunk/operations/common/load-buffer.c
Modified:
   trunk/examples/gegl-paint.c

Modified: trunk/examples/gegl-paint.c
==============================================================================
--- trunk/examples/gegl-paint.c	(original)
+++ trunk/examples/gegl-paint.c	Sun Feb  8 15:48:41 2009
@@ -153,7 +153,7 @@
 
   gegl = gegl_node_new ();
   {
-    GeglNode *loadbuf = gegl_node_new_child (gegl, "operation", "gegl:load-buffer", "buffer", buffer, NULL);
+    GeglNode *loadbuf = gegl_node_new_child (gegl, "operation", "gegl:buffer-source", "buffer", buffer, NULL);
     out  = gegl_node_new_child (gegl, "operation", "gegl:nop", NULL);
 
     gegl_node_link_many (loadbuf, out, NULL);

Copied: trunk/operations/common/buffer-source.c (from r2888, /trunk/operations/common/load-buffer.c)
==============================================================================
--- /trunk/operations/common/load-buffer.c	(original)
+++ trunk/operations/common/buffer-source.c	Sun Feb  8 15:48:41 2009
@@ -28,7 +28,7 @@
 #else
 
 #define GEGL_CHANT_TYPE_SOURCE
-#define GEGL_CHANT_C_FILE       "load-buffer.c"
+#define GEGL_CHANT_C_FILE       "buffer-source.c"
 
 #include "gegl-chant.h"
 
@@ -97,7 +97,7 @@
 
   G_OBJECT_CLASS (klass)->dispose = dispose;
 
-  operation_class->name        = "gegl:load-buffer";
+  operation_class->name        = "gegl:buffer-source";
   operation_class->categories  = "programming:input";
   operation_class->description =
         _("A source that uses an in-memory GeglBuffer, for use internally by GEGL.");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]