gegl r1887 - in trunk: . gegl operations/affine operations/color operations/core operations/io operations/meta operations/render
- From: ok svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r1887 - in trunk: . gegl operations/affine operations/color operations/core operations/io operations/meta operations/render
- Date: Mon, 21 Jan 2008 22:02:55 +0000 (GMT)
Author: ok
Date: Mon Jan 21 22:02:54 2008
New Revision: 1887
URL: http://svn.gnome.org/viewvc/gegl?rev=1887&view=rev
Log:
* gegl/gegl-plugin.h: include operations/gegl-extension-handler.h as
well.
* operations/affine/module.c:
* operations/color/remap.c:
* operations/color/threshold.c:
* operations/color/value-invert.c:
* operations/core/clone.c:
* operations/core/crop.c:
* operations/core/nop.c:
* operations/core/shift.c:
* operations/io/load.c:
* operations/meta/layer.c:
* operations/render/introspect.c: modified to include an absolute
minimum of headers directly and rather include either gegl-plugin.h
or gegl-chant.h (which itself pulls in gegl-plugin.h, gegl-plugin.h
pulls in gegl.h for most of the gegl related environment and adds
the extra APIs provided for operation plug-ins.
Modified:
trunk/ChangeLog
trunk/gegl/gegl-plugin.h
trunk/operations/affine/module.c
trunk/operations/color/remap.c
trunk/operations/color/threshold.c
trunk/operations/color/value-invert.c
trunk/operations/core/clone.c
trunk/operations/core/crop.c
trunk/operations/core/nop.c
trunk/operations/core/shift.c
trunk/operations/io/load.c
trunk/operations/meta/layer.c
trunk/operations/render/introspect.c
Modified: trunk/gegl/gegl-plugin.h
==============================================================================
--- trunk/gegl/gegl-plugin.h (original)
+++ trunk/gegl/gegl-plugin.h Mon Jan 21 22:02:54 2008
@@ -24,6 +24,7 @@
#include <glib-object.h>
#include <gegl.h>
#include <operation/gegl-operation.h>
+#include <operation/gegl-extension-handler.h>
#include <gegl-utils.h>
#include <gegl-buffer.h>
#include <gegl-paramspecs.h>
Modified: trunk/operations/affine/module.c
==============================================================================
--- trunk/operations/affine/module.c (original)
+++ trunk/operations/affine/module.c Mon Jan 21 22:02:54 2008
@@ -16,9 +16,7 @@
* Copyright 2006 Philip Lafleur
*/
-#include <glib-object.h>
-#include "gegl-types.h"
-#include <gegl-module.h>
+#include <gegl-plugin.h>
#include "module.h"
#include "affine.h"
Modified: trunk/operations/color/remap.c
==============================================================================
--- trunk/operations/color/remap.c (original)
+++ trunk/operations/color/remap.c Mon Jan 21 22:02:54 2008
@@ -19,12 +19,7 @@
#ifndef __GEGL_OPERATION_REMAP_H__
#define __GEGL_OPERATION_REMAP_H__
-#include <glib-object.h>
-#include "gegl.h"
-#include "operation/gegl-operation.h"
-#include "geglmodule.h"
-
-
+#include <gegl-plugin.h>
G_BEGIN_DECLS
Modified: trunk/operations/color/threshold.c
==============================================================================
--- trunk/operations/color/threshold.c (original)
+++ trunk/operations/color/threshold.c Mon Jan 21 22:02:54 2008
@@ -28,6 +28,7 @@
#define GEGL_CHANT_SELF "threshold.c"
#define GEGL_CHANT_CATEGORIES "color"
#define GEGL_CHANT_PREPARE
+
#include "gegl-chant.h"
static void prepare (GeglOperation *operation)
Modified: trunk/operations/color/value-invert.c
==============================================================================
--- trunk/operations/color/value-invert.c (original)
+++ trunk/operations/color/value-invert.c Mon Jan 21 22:02:54 2008
@@ -39,6 +39,7 @@
#define GEGL_CHANT_DESCRIPTION "Inverts just the value component, the result is the corresponding `inverted' image."
#define GEGL_CHANT_SELF "value-invert.c"
#define GEGL_CHANT_CATEGORIES "color"
+
#include "gegl-chant.h"
static gboolean
Modified: trunk/operations/core/clone.c
==============================================================================
--- trunk/operations/core/clone.c (original)
+++ trunk/operations/core/clone.c Mon Jan 21 22:02:54 2008
@@ -19,13 +19,7 @@
#ifndef __GEGL_OPERATION_CLONE_H__
#define __GEGL_OPERATION_CLONE_H__
-#define GEGL_INTERNAL
-#include <glib-object.h>
-#include "gegl-types.h"
-#include "graph/gegl-node.h"
-#include "gegl.h"
-#include "operation/gegl-operation.h"
-#include "gegl-module.h"
+#include <gegl-plugin.h>
G_BEGIN_DECLS
Modified: trunk/operations/core/crop.c
==============================================================================
--- trunk/operations/core/crop.c (original)
+++ trunk/operations/core/crop.c Mon Jan 21 22:02:54 2008
@@ -19,17 +19,7 @@
#ifndef __GEGL_OPERATION_CROP_H__
#define __GEGL_OPERATION_CROP_H__
-
-#define GEGL_INTERNAL
-#include <glib-object.h>
-#include "gegl-types.h"
-#include "graph/gegl-node.h"
-#include "gegl.h"
-#include "gegl-utils.h"
-#include "operation/gegl-operation.h"
-#include "gegl-module.h"
-
-
+#include <gegl-plugin.h>
G_BEGIN_DECLS
Modified: trunk/operations/core/nop.c
==============================================================================
--- trunk/operations/core/nop.c (original)
+++ trunk/operations/core/nop.c Mon Jan 21 22:02:54 2008
@@ -19,15 +19,7 @@
#ifndef __GEGL_OPERATION_NOP_H__
#define __GEGL_OPERATION_NOP_H__
-#define GEGL_INTERNAL
-#include <glib-object.h>
-#include "gegl-types.h"
-#include "graph/gegl-node.h"
-#include "gegl.h"
-#include "gegl-utils.h"
-#include "operation/gegl-operation.h"
-#include "gegl-module.h"
-
+#include <gegl-plugin.h>
G_BEGIN_DECLS
Modified: trunk/operations/core/shift.c
==============================================================================
--- trunk/operations/core/shift.c (original)
+++ trunk/operations/core/shift.c Mon Jan 21 22:02:54 2008
@@ -19,16 +19,7 @@
#ifndef __GEGL_OPERATION_SHIFT_H__
#define __GEGL_OPERATION_SHIFT_H__
-
-#define GEGL_INTERNAL
-#include <glib-object.h>
-#include "gegl-types.h"
-#include "graph/gegl-node.h"
-#include "gegl.h"
-#include "gegl-utils.h"
-#include "operation/gegl-operation.h"
-#include "gegl-module.h"
-
+#include <gegl-plugin.h>
G_BEGIN_DECLS
Modified: trunk/operations/io/load.c
==============================================================================
--- trunk/operations/io/load.c (original)
+++ trunk/operations/io/load.c Mon Jan 21 22:02:54 2008
@@ -30,7 +30,6 @@
#define GEGL_CHANT_CATEGORIES "meta:input"
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
-#include "gegl/operation/gegl-extension-handler.h"
#include <stdio.h>
typedef struct _Priv Priv;
Modified: trunk/operations/meta/layer.c
==============================================================================
--- trunk/operations/meta/layer.c (original)
+++ trunk/operations/meta/layer.c Mon Jan 21 22:02:54 2008
@@ -37,7 +37,6 @@
#define GEGL_CHANT_CATEGORIES "meta"
#define GEGL_CHANT_CLASS_INIT
#include "gegl-chant.h"
-#include "gegl/operation/gegl-extension-handler.h"
#include <glib/gprintf.h>
typedef struct _Priv Priv;
Modified: trunk/operations/render/introspect.c
==============================================================================
--- trunk/operations/render/introspect.c (original)
+++ trunk/operations/render/introspect.c Mon Jan 21 22:02:54 2008
@@ -30,7 +30,7 @@
#define GEGL_CHANT_SOURCE
#include "gegl-chant.h"
-#include "gegl-dot.h"
+#include "gegl-dot.h" /* XXX: internal header file */
#include <stdio.h>
#include <string.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]