gegl r2171 - in trunk: . gegl/buffer operations/affine operations/core



Author: ok
Date: Mon Apr 14 23:53:00 2008
New Revision: 2171
URL: http://svn.gnome.org/viewvc/gegl?rev=2171&view=rev

Log:
* gegl/buffer/gegl-handler-cache.c: removed unused function.
* operations/affine/affine.c: (process):
* operations/core/shift.c: (process): updated to new property name
(source not provider).


Modified:
   trunk/ChangeLog
   trunk/gegl/buffer/gegl-handler-cache.c
   trunk/operations/affine/affine.c
   trunk/operations/core/shift.c

Modified: trunk/gegl/buffer/gegl-handler-cache.c
==============================================================================
--- trunk/gegl/buffer/gegl-handler-cache.c	(original)
+++ trunk/gegl/buffer/gegl-handler-cache.c	Mon Apr 14 23:53:00 2008
@@ -26,8 +26,6 @@
 #include "gegl-tile.h"
 #include "gegl-handler-cache.h"
 
-GeglHandlerCache * gegl_handler_cache_new (void);
-
 
 static gboolean    gegl_handler_cache_wash     (GeglHandlerCache *cache);
 
@@ -256,13 +254,6 @@
 }
 
 
-/* create a new tile cache */
-GeglHandlerCache *
-gegl_handler_cache_new (void)
-{
-  return g_object_new (GEGL_TYPE_HANDLER_CACHE, NULL);
-}
-
 /* write the least recently used dirty tile to disk if it
  * is in the wash_percentage (20%) least recently used tiles,
  * calling this function in an idle handler distributes the

Modified: trunk/operations/affine/affine.c
==============================================================================
--- trunk/operations/affine/affine.c	(original)
+++ trunk/operations/affine/affine.c	Mon Apr 14 23:53:00 2008
@@ -709,7 +709,7 @@
              affine->matrix [1][2] == (gint) affine->matrix [1][2])))
     {
       output = g_object_new (GEGL_TYPE_BUFFER,
-                             "provider",    input,
+                             "source",    input,
                              "x",           result->x,
                              "y",           result->y,
                              "width",       result->width ,

Modified: trunk/operations/core/shift.c
==============================================================================
--- trunk/operations/core/shift.c	(original)
+++ trunk/operations/core/shift.c	Mon Apr 14 23:53:00 2008
@@ -133,9 +133,9 @@
       GeglBuffer *output;
 
       output = g_object_new (GEGL_TYPE_BUFFER,
-                             "provider",    input,
-                             "shift-x",     (int)-o->x,
-                             "shift-y",     (int)-o->y,
+                             "source",    input,
+                             "shift-x",   (int)-o->x,
+                             "shift-y",   (int)-o->y,
                              "abyss-width", -1,  /* turn of abyss
                                                     (relying on abyss
                                                     of source) */



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