[gegl] Remove private GeglNode api from gegl-operation-*.c
- From: Daniel Sabo <daniels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] Remove private GeglNode api from gegl-operation-*.c
- Date: Thu, 14 Nov 2013 18:08:54 +0000 (UTC)
commit ffb882f152c058353e1b33db639584a9b01e2146
Author: Daniel Sabo <DanielSabo gmail com>
Date: Thu Nov 14 09:39:17 2013 -0800
Remove private GeglNode api from gegl-operation-*.c
gegl/operation/gegl-operation-composer.c | 9 ++-------
gegl/operation/gegl-operation-composer3.c | 9 ++-------
gegl/operation/gegl-operation-filter.c | 9 ++-------
gegl/operation/gegl-operation-point-composer.c | 4 +---
gegl/operation/gegl-operation-point-composer3.c | 6 ++----
gegl/operation/gegl-operation-point-filter.c | 8 ++------
gegl/operation/gegl-operation-source.c | 3 +--
7 files changed, 12 insertions(+), 36 deletions(-)
---
diff --git a/gegl/operation/gegl-operation-composer.c b/gegl/operation/gegl-operation-composer.c
index 3c9aa92..dbdb505 100644
--- a/gegl/operation/gegl-operation-composer.c
+++ b/gegl/operation/gegl-operation-composer.c
@@ -24,12 +24,7 @@
#include "gegl.h"
#include "gegl-types-internal.h"
#include "gegl-operation-composer.h"
-#include "gegl-utils.h"
-#include "graph/gegl-node.h"
-#include "graph/gegl-connection.h"
-#include "graph/gegl-pad.h"
-#include "buffer/gegl-region.h"
-#include "buffer/gegl-buffer.h"
+#include "gegl-operation-context.h"
static gboolean gegl_operation_composer_process (GeglOperation *operation,
GeglOperationContext *context,
@@ -140,7 +135,7 @@ gegl_operation_composer_process (GeglOperation *operation,
else
{
g_warning ("%s received NULL input and aux",
- gegl_node_get_debug_name (operation->node));
+ gegl_node_get_operation (operation->node));
}
return success;
diff --git a/gegl/operation/gegl-operation-composer3.c b/gegl/operation/gegl-operation-composer3.c
index 84d29e8..acd74c0 100644
--- a/gegl/operation/gegl-operation-composer3.c
+++ b/gegl/operation/gegl-operation-composer3.c
@@ -24,12 +24,7 @@
#include "gegl.h"
#include "gegl-types-internal.h"
#include "gegl-operation-composer3.h"
-#include "gegl-utils.h"
-#include "graph/gegl-node.h"
-#include "graph/gegl-connection.h"
-#include "graph/gegl-pad.h"
-#include "buffer/gegl-region.h"
-#include "buffer/gegl-buffer.h"
+#include "gegl-operation-context.h"
static gboolean gegl_operation_composer3_process
(GeglOperation *operation,
@@ -155,7 +150,7 @@ gegl_operation_composer3_process (GeglOperation *operation,
else
{
g_warning ("%s received NULL input, aux, and aux2",
- gegl_node_get_debug_name (operation->node));
+ gegl_node_get_operation (operation->node));
}
return success;
diff --git a/gegl/operation/gegl-operation-filter.c b/gegl/operation/gegl-operation-filter.c
index 89a0a42..72fbfe6 100644
--- a/gegl/operation/gegl-operation-filter.c
+++ b/gegl/operation/gegl-operation-filter.c
@@ -24,12 +24,7 @@
#include "gegl.h"
#include "gegl-types-internal.h"
#include "gegl-operation-filter.h"
-#include "gegl-utils.h"
-#include "graph/gegl-node.h"
-#include "graph/gegl-connection.h"
-#include "graph/gegl-pad.h"
-#include "buffer/gegl-region.h"
-#include "buffer/gegl-buffer.h"
+#include "gegl-operation-context.h"
static gboolean gegl_operation_filter_process
(GeglOperation *operation,
@@ -105,7 +100,7 @@ detect (GeglOperation *operation,
input_node = gegl_operation_get_source_node (operation, "input");
if (input_node)
- return gegl_operation_detect (input_node->operation, x, y);
+ return gegl_node_detect (input_node, x, y);
return operation->node;
}
diff --git a/gegl/operation/gegl-operation-point-composer.c b/gegl/operation/gegl-operation-point-composer.c
index d872147..334a094 100644
--- a/gegl/operation/gegl-operation-point-composer.c
+++ b/gegl/operation/gegl-operation-point-composer.c
@@ -25,9 +25,7 @@
#include "gegl/gegl-debug.h"
#include "gegl-types-internal.h"
#include "gegl-operation-point-composer.h"
-#include "gegl-utils.h"
-#include "graph/gegl-node.h"
-#include "graph/gegl-pad.h"
+#include "gegl-operation-context.h"
#include <string.h>
#include "gegl-buffer-private.h"
diff --git a/gegl/operation/gegl-operation-point-composer3.c b/gegl/operation/gegl-operation-point-composer3.c
index 93cef32..d59f9b8 100644
--- a/gegl/operation/gegl-operation-point-composer3.c
+++ b/gegl/operation/gegl-operation-point-composer3.c
@@ -24,9 +24,7 @@
#include "gegl.h"
#include "gegl-types-internal.h"
#include "gegl-operation-point-composer3.h"
-#include "gegl-utils.h"
-#include "graph/gegl-node.h"
-#include "graph/gegl-pad.h"
+#include "gegl-operation-context.h"
#include <string.h>
static gboolean gegl_operation_point_composer3_process
@@ -128,7 +126,7 @@ gegl_operation_composer3_process2 (GeglOperation *operation,
else
{
g_warning ("%s received NULL input, aux, and aux2",
- gegl_node_get_debug_name (operation->node));
+ gegl_node_get_operation (operation->node));
}
return success;
diff --git a/gegl/operation/gegl-operation-point-filter.c b/gegl/operation/gegl-operation-point-filter.c
index 8f5a0a4..589a866 100644
--- a/gegl/operation/gegl-operation-point-filter.c
+++ b/gegl/operation/gegl-operation-point-filter.c
@@ -25,15 +25,11 @@
#include "gegl/gegl-debug.h"
#include "gegl-types-internal.h"
#include "gegl-operation-point-filter.h"
-#include "graph/gegl-pad.h"
-#include "graph/gegl-node.h"
-#include "gegl-utils.h"
+#include "gegl-operation-context.h"
#include <string.h>
-#include "gegl-buffer-private.h"
-#include "gegl-tile-storage.h"
-
#include "opencl/gegl-cl.h"
+#include "gegl-buffer-cl-iterator.h"
static gboolean gegl_operation_point_filter_process
(GeglOperation *operation,
diff --git a/gegl/operation/gegl-operation-source.c b/gegl/operation/gegl-operation-source.c
index c1843b7..af489e5 100644
--- a/gegl/operation/gegl-operation-source.c
+++ b/gegl/operation/gegl-operation-source.c
@@ -25,8 +25,7 @@
#include "gegl.h"
#include "gegl-types-internal.h"
#include "gegl-operation-source.h"
-#include "graph/gegl-node.h"
-#include "graph/gegl-pad.h"
+#include "gegl-operation-context.h"
static gboolean gegl_operation_source_process
(GeglOperation *operation,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]