gegl r2159 - in trunk: . gegl/buffer



Author: ok
Date: Sun Apr 13 20:05:38 2008
New Revision: 2159
URL: http://svn.gnome.org/viewvc/gegl?rev=2159&view=rev

Log:
Stripped of lingering _STORE suffix that should have been removed in
earlier naming changes.
* gegl/buffer/gegl-provider.c:
(gegl_provider_message):
* gegl/buffer/gegl-storage.c:
* gegl/buffer/gegl-tile-disk.h:
* gegl/buffer/gegl-tile-mem.h:


Modified:
   trunk/ChangeLog
   trunk/gegl/buffer/gegl-provider.c
   trunk/gegl/buffer/gegl-storage.c
   trunk/gegl/buffer/gegl-tile-disk.h
   trunk/gegl/buffer/gegl-tile-mem.h

Modified: trunk/gegl/buffer/gegl-provider.c
==============================================================================
--- trunk/gegl/buffer/gegl-provider.c	(original)
+++ trunk/gegl/buffer/gegl-provider.c	Sun Apr 13 20:05:38 2008
@@ -72,8 +72,6 @@
 {
   GeglProviderClass *klass;
 
-  /*g_return_val_if_fail (GEGL_IS_TILE_STORE (gegl_provider), NULL);*/
-
   klass = GEGL_PROVIDER_GET_CLASS (gegl_provider);
 
   return klass->get_tile (gegl_provider, x, y, z);
@@ -89,8 +87,6 @@
 {
   GeglProviderClass *klass;
 
-  /*g_return_val_if_fail (GEGL_IS_TILE_STORE (gegl_provider), -1);*/
-
   klass = GEGL_PROVIDER_GET_CLASS (gegl_provider);
 
   return klass->message (gegl_provider, message, x, y, z, data);

Modified: trunk/gegl/buffer/gegl-storage.c
==============================================================================
--- trunk/gegl/buffer/gegl-storage.c	(original)
+++ trunk/gegl/buffer/gegl-storage.c	Sun Apr 13 20:05:38 2008
@@ -185,7 +185,7 @@
   if (storage->path != NULL)
     {
       g_object_set (storage,
-                    "provider", g_object_new (GEGL_TYPE_TILE_DISK_STORE,
+                    "provider", g_object_new (GEGL_TYPE_TILE_DISK,
                                             "tile-width", storage->tile_width,
                                             "tile-height", storage->tile_height,
                                             "format", storage->format,
@@ -196,7 +196,7 @@
   else
     {
       g_object_set (storage,
-                    "provider", g_object_new (GEGL_TYPE_TILE_MEM_STORE,
+                    "provider", g_object_new (GEGL_TYPE_TILE_MEM,
                                             "tile-width", storage->tile_width,
                                             "tile-height", storage->tile_height,
                                             "format", storage->format,

Modified: trunk/gegl/buffer/gegl-tile-disk.h
==============================================================================
--- trunk/gegl/buffer/gegl-tile-disk.h	(original)
+++ trunk/gegl/buffer/gegl-tile-disk.h	Sun Apr 13 20:05:38 2008
@@ -23,12 +23,12 @@
 
 G_BEGIN_DECLS
 
-#define GEGL_TYPE_TILE_DISK_STORE            (gegl_tile_disk_get_type ())
-#define GEGL_TILE_DISK(obj)                  (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEGL_TYPE_TILE_DISK_STORE, GeglTileDisk))
-#define GEGL_TILE_DISK_CLASS(klass)          (G_TYPE_CHECK_CLASS_CAST ((klass),  GEGL_TYPE_TILE_DISK_STORE, GeglTileDiskClass))
-#define GEGL_IS_TILE_DISK_STORE(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEGL_TYPE_TILE_DISK_STORE))
-#define GEGL_IS_TILE_DISK_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),  GEGL_TYPE_TILE_DISK_STORE))
-#define GEGL_TILE_DISK_GET_CLASS(obj)        (G_TYPE_INSTANCE_GET_CLASS ((obj),  GEGL_TYPE_TILE_DISK_STORE, GeglTileDiskClass))
+#define GEGL_TYPE_TILE_DISK            (gegl_tile_disk_get_type ())
+#define GEGL_TILE_DISK(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEGL_TYPE_TILE_DISK, GeglTileDisk))
+#define GEGL_TILE_DISK_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass),  GEGL_TYPE_TILE_DISK, GeglTileDiskClass))
+#define GEGL_IS_TILE_DISK(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEGL_TYPE_TILE_DISK))
+#define GEGL_IS_TILE_DISK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),  GEGL_TYPE_TILE_DISK))
+#define GEGL_TILE_DISK_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj),  GEGL_TYPE_TILE_DISK, GeglTileDiskClass))
 
 
 typedef struct _GeglTileDisk      GeglTileDisk;

Modified: trunk/gegl/buffer/gegl-tile-mem.h
==============================================================================
--- trunk/gegl/buffer/gegl-tile-mem.h	(original)
+++ trunk/gegl/buffer/gegl-tile-mem.h	Sun Apr 13 20:05:38 2008
@@ -23,12 +23,12 @@
 
 G_BEGIN_DECLS
 
-#define GEGL_TYPE_TILE_MEM_STORE            (gegl_tile_mem_get_type ())
-#define GEGL_TILE_MEM(obj)                  (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEGL_TYPE_TILE_MEM_STORE, GeglTileMem))
-#define GEGL_TILE_MEM_CLASS(klass)          (G_TYPE_CHECK_CLASS_CAST ((klass),  GEGL_TYPE_TILE_MEM_STORE, GeglTileMemClass))
-#define GEGL_IS_TILE_MEM_STORE(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEGL_TYPE_TILE_MEM_STORE))
-#define GEGL_IS_TILE_MEM_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),  GEGL_TYPE_TILE_MEM_STORE))
-#define GEGL_TILE_MEM_GET_CLASS(obj)        (G_TYPE_INSTANCE_GET_CLASS ((obj),  GEGL_TYPE_TILE_MEM_STORE, GeglTileMemClass))
+#define GEGL_TYPE_TILE_MEM            (gegl_tile_mem_get_type ())
+#define GEGL_TILE_MEM(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEGL_TYPE_TILE_MEM, GeglTileMem))
+#define GEGL_TILE_MEM_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass),  GEGL_TYPE_TILE_MEM, GeglTileMemClass))
+#define GEGL_IS_TILE_MEM(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEGL_TYPE_TILE_MEM))
+#define GEGL_IS_TILE_MEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),  GEGL_TYPE_TILE_MEM))
+#define GEGL_TILE_MEM_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj),  GEGL_TYPE_TILE_MEM, GeglTileMemClass))
 
 typedef struct _GeglTileMem      GeglTileMem;
 typedef struct _GeglTileMemClass GeglTileMemClass;



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