Commit f0ec8dcb authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

include gegl/gegl-types.h instead of base/base-types.h.

2008-01-07  Michael Natterer  <mitch@gimp.org>

	* app/core/core-types.h: include gegl/gegl-types.h instead of
	base/base-types.h.

	* app/gegl/gegl/gegl-types.h: add ugly #ifdefs so we can include
	gegl.h and this file at the same time.


svn path=/trunk/; revision=24563
parent 147f3417
2008-01-07 Michael Natterer <mitch@gimp.org>
* app/core/core-types.h: include gegl/gegl-types.h instead of
base/base-types.h.
* app/gegl/gegl/gegl-types.h: add ugly #ifdefs so we can include
gegl.h and this file at the same time.
2008-01-07 Michael Natterer <mitch@gimp.org>
* app/core/gimplayer.c (gimp_layer_transform_color): reordered
......
......@@ -23,7 +23,7 @@
#include "libgimpmodule/gimpmoduletypes.h"
#include "libgimpthumb/gimpthumb-types.h"
#include "base/base-types.h"
#include "gegl/gegl-types.h"
#include "core/core-enums.h"
......
......@@ -23,8 +23,10 @@
G_BEGIN_DECLS
typedef struct _GeglConnection GeglConnection;
#ifndef __GEGL_H__
typedef struct _GeglColor GeglColor;
typedef struct _GeglCurve GeglCurve;
#endif
typedef struct _GeglCRVisitor GeglCRVisitor;
typedef struct _GeglDebugRectVisitor GeglDebugRectVisitor;
typedef struct _GeglEvalMgr GeglEvalMgr;
......@@ -33,20 +35,27 @@ typedef struct _GeglFinishVisitor GeglFinishVisitor;
typedef struct _GeglGraph GeglGraph;
typedef struct _GeglHaveVisitor GeglHaveVisitor;
typedef struct _GeglNeedVisitor GeglNeedVisitor;
#ifndef __GEGL_H__
typedef struct _GeglNode GeglNode;
#endif
typedef struct _GeglNodeContext GeglNodeContext;
typedef struct _GeglOperation GeglOperation;
typedef struct _GeglPad GeglPad;
#ifndef __GEGL_H__
typedef struct _GeglVector GeglVector;
typedef struct _GeglProcessor GeglProcessor;
#endif
typedef struct _GeglPrepareVisitor GeglPrepareVisitor;
typedef struct _GeglVisitable GeglVisitable; /* dummy typedef */
typedef struct _GeglVisitor GeglVisitor;
#ifndef __GEGL_H__
typedef struct _GeglRectangle GeglRectangle;
#endif
typedef struct _GeglPoint GeglPoint;
typedef struct _GeglDimension GeglDimension;
#ifndef __GEGL_H__
struct _GeglRectangle
{
gint x;
......@@ -54,6 +63,7 @@ struct _GeglRectangle
gint width;
gint height;
};
#endif
struct _GeglPoint
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment