[gegl/soc-2012-ops] buffer: move Class typedefs back to their own headers
- From: Hans Shu Lo <hanslo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/soc-2012-ops] buffer: move Class typedefs back to their own headers
- Date: Fri, 29 Jun 2012 17:47:32 +0000 (UTC)
commit cb3c0c22a777f9dbcbfc20175570d2f307b3a191
Author: Michael Natterer <mitch gimp org>
Date: Tue Jun 26 12:44:16 2012 +0200
buffer: move Class typedefs back to their own headers
gegl/buffer/gegl-buffer-private.h | 2 ++
gegl/buffer/gegl-buffer-types.h | 10 ----------
gegl/buffer/gegl-cache.h | 2 ++
gegl/buffer/gegl-tile-handler-chain.h | 2 ++
gegl/buffer/gegl-tile-handler.h | 2 ++
gegl/buffer/gegl-tile-storage.h | 2 ++
6 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/gegl/buffer/gegl-buffer-private.h b/gegl/buffer/gegl-buffer-private.h
index 3f6d7fb1..80afe75 100644
--- a/gegl/buffer/gegl-buffer-private.h
+++ b/gegl/buffer/gegl-buffer-private.h
@@ -32,6 +32,8 @@
#define GEGL_IS_BUFFER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEGL_TYPE_BUFFER))
#define GEGL_BUFFER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEGL_TYPE_BUFFER, GeglBufferClass))
+typedef struct _GeglBufferClass GeglBufferClass;
+
struct _GeglBuffer
{
GeglTileHandler parent_instance; /* which is a GeglTileHandler which has a
diff --git a/gegl/buffer/gegl-buffer-types.h b/gegl/buffer/gegl-buffer-types.h
index 0a2b89f..7be945c 100644
--- a/gegl/buffer/gegl-buffer-types.h
+++ b/gegl/buffer/gegl-buffer-types.h
@@ -19,8 +19,6 @@
#ifndef __GEGL_BUFFER_TYPES_H__
#define __GEGL_BUFFER_TYPES_H__
-typedef struct _GeglTileClass GeglTileClass;
-
#include "gegl-types.h"
#include "gegl-buffer-backend.h"
@@ -45,26 +43,18 @@ struct _GeglTileBackendPrivate
gboolean shared;
};
-
-
typedef struct _GeglTileHandler GeglTileHandler;
-typedef struct _GeglTileHandlerClass GeglTileHandlerClass;
typedef struct _GeglTileHandlerChain GeglTileHandlerChain;
-typedef struct _GeglTileHandlerChainClass GeglTileHandlerChainClass;
typedef struct _GeglTileStorage GeglTileStorage;
-typedef struct _GeglTileStorageClass GeglTileStorageClass;
#ifndef __GEGL_BUFFER_H__
typedef struct _GeglBuffer GeglBuffer;
typedef struct _GeglSampler GeglSampler;
#endif
-typedef struct _GeglBufferClass GeglBufferClass;
-
typedef struct _GeglCache GeglCache;
-typedef struct _GeglCacheClass GeglCacheClass;
typedef struct _GeglRegion GeglRegion;
diff --git a/gegl/buffer/gegl-cache.h b/gegl/buffer/gegl-cache.h
index df759a7..4f00ae9 100644
--- a/gegl/buffer/gegl-cache.h
+++ b/gegl/buffer/gegl-cache.h
@@ -31,6 +31,8 @@ G_BEGIN_DECLS
#define GEGL_IS_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEGL_TYPE_CACHE))
#define GEGL_CACHE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEGL_TYPE_CACHE, GeglCacheClass))
+typedef struct _GeglCacheClass GeglCacheClass;
+
struct _GeglCache
{
GeglBuffer parent_instance;
diff --git a/gegl/buffer/gegl-tile-handler-chain.h b/gegl/buffer/gegl-tile-handler-chain.h
index 17beaf8..6a26f13 100644
--- a/gegl/buffer/gegl-tile-handler-chain.h
+++ b/gegl/buffer/gegl-tile-handler-chain.h
@@ -32,6 +32,8 @@
#define GEGL_IS_TILE_HANDLER_CHAIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEGL_TYPE_TILE_HANDLER_CHAIN))
#define GEGL_TILE_HANDLER_CHAIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEGL_TYPE_TILE_HANDLER_CHAIN, GeglTileHandlerChainClass))
+typedef struct _GeglTileHandlerChainClass GeglTileHandlerChainClass;
+
struct _GeglTileHandlerChain
{
GeglTileHandler parent_instance;
diff --git a/gegl/buffer/gegl-tile-handler.h b/gegl/buffer/gegl-tile-handler.h
index 2d60e9c..a86e334 100644
--- a/gegl/buffer/gegl-tile-handler.h
+++ b/gegl/buffer/gegl-tile-handler.h
@@ -39,6 +39,8 @@ G_BEGIN_DECLS
#define GEGL_IS_TILE_HANDLER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEGL_TYPE_TILE_HANDLER))
#define GEGL_TILE_HANDLER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEGL_TYPE_TILE_HANDLER, GeglTileHandlerClass))
+typedef struct _GeglTileHandlerClass GeglTileHandlerClass;
+
struct _GeglTileHandler
{
GeglTileSource parent_instance;
diff --git a/gegl/buffer/gegl-tile-storage.h b/gegl/buffer/gegl-tile-storage.h
index e1de893..97e2368 100644
--- a/gegl/buffer/gegl-tile-storage.h
+++ b/gegl/buffer/gegl-tile-storage.h
@@ -34,6 +34,8 @@
#define GEGL_IS_TILE_STORAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEGL_TYPE_TILE_STORAGE))
#define GEGL_TILE_STORAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEGL_TYPE_TILE_STORAGE, GeglTileStorageClass))
+typedef struct _GeglTileStorageClass GeglTileStorageClass;
+
struct _GeglTileStorage
{
GeglTileHandlerChain parent_instance;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]