[gegl] watershed-transform: s/_context_get_source/_context_dup_object/
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] watershed-transform: s/_context_get_source/_context_dup_object/
- Date: Tue, 21 Nov 2017 20:42:34 +0000 (UTC)
commit 38ebf166e02202cf42cd75060c45e2f6e303871a
Author: Øyvind Kolås <pippin gimp org>
Date: Tue Nov 21 21:37:10 2017 +0100
watershed-transform: s/_context_get_source/_context_dup_object/
operations/common/watershed-transform.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/operations/common/watershed-transform.c b/operations/common/watershed-transform.c
index 83400f0..fbd2e05 100644
--- a/operations/common/watershed-transform.c
+++ b/operations/common/watershed-transform.c
@@ -339,7 +339,7 @@ operation_process (GeglOperation *operation,
GeglBuffer *output;
gboolean success;
- aux = gegl_operation_context_get_source (context, "aux");
+ aux = (GeglBuffer*) gegl_operation_context_dup_object (context, "aux");
if (!aux)
{
@@ -347,7 +347,7 @@ operation_process (GeglOperation *operation,
}
else
{
- input = gegl_operation_context_get_source (context, "input");
+ input = (GeglBuffer*) gegl_operation_context_dup_object (context, "input");
output = gegl_operation_context_get_target (context, "output");
success = process (operation, input, aux, output, result, level);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]