[gegl] Remove duplicate includes from gegl-plugin.h
- From: Daniel Sabo <daniels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] Remove duplicate includes from gegl-plugin.h
- Date: Tue, 19 Nov 2013 21:52:20 +0000 (UTC)
commit 43cd6ba1952b363a7e306e2b811446601362a675
Author: Daniel Sabo <DanielSabo gmail com>
Date: Tue Nov 19 11:00:23 2013 -0800
Remove duplicate includes from gegl-plugin.h
gegl/gegl-plugin.h | 29 ++---------------------------
1 files changed, 2 insertions(+), 27 deletions(-)
---
diff --git a/gegl/gegl-plugin.h b/gegl/gegl-plugin.h
index 2eb5282..d637bad 100644
--- a/gegl/gegl-plugin.h
+++ b/gegl/gegl-plugin.h
@@ -26,7 +26,9 @@
#include <string.h>
#include <glib-object.h>
+#include <gmodule.h>
#include <gegl.h>
+#include <gegl-paramspecs.h>
G_BEGIN_DECLS
@@ -36,12 +38,6 @@ typedef struct _GeglOperationContext GeglOperationContext;
typedef struct _GeglPad GeglPad;
typedef struct _GeglConnection GeglConnection;
-#include <gegl-matrix.h>
-#include <gegl-utils.h>
-#include <gegl-buffer.h>
-#include <gegl-paramspecs.h>
-#include <gmodule.h>
-
typedef struct _GeglModule GeglModule;
typedef struct _GeglModuleInfo GeglModuleInfo;
typedef struct _GeglModuleDB GeglModuleDB;
@@ -51,8 +47,6 @@ typedef struct _GeglModuleDB GeglModuleDB;
*
*/
-/*#include <geglmodule.h>*/
-
/* increment the ABI version each time one of the following changes:
*
* - the libgeglmodule implementation (if the change affects modules).
@@ -124,23 +118,6 @@ const gchar * gegl_extension_handler_get_saver (const gchar *extensi
matrix.coeff[1][1] = ay - by; \
}
-typedef struct
-{
- GObject parent_instance;
- void (* get) (GeglSampler *self,
- gdouble x,
- gdouble y,
- GeglMatrix2 *scale,
- void *output,
- GeglAbyssPolicy repeat_mode);
-} SamplerMock;
-
-
-#define gegl_sampler_get(sampler,x,y,scale,dest,repeat) \
- ((SamplerMock*)(sampler))->get((sampler),(x),(y),(scale),(dest),(repeat))
-
-#include <glib-object.h>
-#include <babl/babl.h>
#include <operation/gegl-operation.h>
#include <operation/gegl-operation-filter.h>
#include <operation/gegl-operation-area-filter.h>
@@ -155,7 +132,5 @@ typedef struct
#include <operation/gegl-operation-sink.h>
#include <operation/gegl-operation-meta.h>
-#include <gegl-lookup.h>
-
G_END_DECLS
#endif /* __GEGL_PLUGIN_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]