[gegl] Possibly less broken version of last patch.



commit df6835cf7eed7c82cd9decc74c6603db3f0492da
Author: Daniel Sabo <DanielSabo gmail com>
Date:   Fri Mar 29 23:59:55 2013 -0700

    Possibly less broken version of last patch.

 gegl/buffer/gegl-buffer-backend.h |    2 ++
 gegl/buffer/gegl-buffer.h         |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gegl/buffer/gegl-buffer-backend.h b/gegl/buffer/gegl-buffer-backend.h
index 647f9ba..1601bd6 100644
--- a/gegl/buffer/gegl-buffer-backend.h
+++ b/gegl/buffer/gegl-buffer-backend.h
@@ -23,7 +23,9 @@ G_BEGIN_DECLS
 
 typedef struct _GeglTile                  GeglTile;
 typedef struct _GeglTileSource            GeglTileSource;
+#ifndef __GEGL_BUFFER_H__
 typedef struct _GeglTileBackend           GeglTileBackend;
+#endif
 typedef struct _GeglTileHandler           GeglTileHandler;
 
 
diff --git a/gegl/buffer/gegl-buffer.h b/gegl/buffer/gegl-buffer.h
index 8962fbf..931aee5 100644
--- a/gegl/buffer/gegl-buffer.h
+++ b/gegl/buffer/gegl-buffer.h
@@ -32,6 +32,8 @@ G_BEGIN_DECLS
 #ifndef __GEGL_BUFFER_TYPES_H__
 typedef struct _GeglBuffer   GeglBuffer;
 typedef struct _GeglSampler  GeglSampler;
+#endif
+#ifndef __GEGL_BUFFER_BACKEND_H__
 typedef struct _GeglTileBackend GeglTileBackend;
 #endif
 


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