[gegl] Move operation types to gegl-types.h
- From: Daniel Sabo <daniels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] Move operation types to gegl-types.h
- Date: Tue, 19 Nov 2013 21:52:25 +0000 (UTC)
commit 2142281415a37aaa79637437ea75321f2aaf0ecb
Author: Daniel Sabo <DanielSabo gmail com>
Date: Tue Nov 19 11:49:28 2013 -0800
Move operation types to gegl-types.h
gegl/gegl-plugin.h | 5 -----
gegl/gegl-types-internal.h | 6 ------
gegl/gegl-types.h | 5 +++++
3 files changed, 5 insertions(+), 11 deletions(-)
---
diff --git a/gegl/gegl-plugin.h b/gegl/gegl-plugin.h
index d637bad..6b4569e 100644
--- a/gegl/gegl-plugin.h
+++ b/gegl/gegl-plugin.h
@@ -33,11 +33,6 @@
G_BEGIN_DECLS
/* Extra types needed when coding operations */
-typedef struct _GeglOperation GeglOperation;
-typedef struct _GeglOperationContext GeglOperationContext;
-typedef struct _GeglPad GeglPad;
-typedef struct _GeglConnection GeglConnection;
-
typedef struct _GeglModule GeglModule;
typedef struct _GeglModuleInfo GeglModuleInfo;
typedef struct _GeglModuleDB GeglModuleDB;
diff --git a/gegl/gegl-types-internal.h b/gegl/gegl-types-internal.h
index ce8cc46..1fba515 100644
--- a/gegl/gegl-types-internal.h
+++ b/gegl/gegl-types-internal.h
@@ -30,12 +30,6 @@ typedef struct _GeglFinishVisitor GeglFinishVisitor;
typedef struct _GeglHaveVisitor GeglHaveVisitor;
typedef struct _GeglNeedVisitor GeglNeedVisitor;
typedef struct _GeglDotVisitor GeglDotVisitor;
-#ifndef __GEGL_PLUGIN_H__
-typedef struct _GeglPad GeglPad;
-typedef struct _GeglOperation GeglOperation;
-typedef struct _GeglOperationContext GeglOperationContext;
-typedef struct _GeglConnection GeglConnection;
-#endif
typedef struct _GeglPrepareVisitor GeglPrepareVisitor;
typedef struct _GeglLockVisitor GeglLockVisitor;
typedef struct _GeglUnlockVisitor GeglUnlockVisitor;
diff --git a/gegl/gegl-types.h b/gegl/gegl-types.h
index aa87ea4..64ebb6e 100644
--- a/gegl/gegl-types.h
+++ b/gegl/gegl-types.h
@@ -46,6 +46,11 @@ GType gegl_config_get_type (void) G_GNUC_CONST;
#define GEGL_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEGL_TYPE_CONFIG, GeglConfig))
#define GEGL_IS_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEGL_TYPE_CONFIG))
+typedef struct _GeglPad GeglPad;
+typedef struct _GeglOperation GeglOperation;
+typedef struct _GeglOperationContext GeglOperationContext;
+typedef struct _GeglConnection GeglConnection;
+
typedef struct _GeglCurve GeglCurve;
typedef struct _GeglPath GeglPath;
typedef struct _GeglColor GeglColor;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]