[gegl] operations/common: s/_context_get_source/_context_dup_object/
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] operations/common: s/_context_get_source/_context_dup_object/
- Date: Tue, 21 Nov 2017 20:42:18 +0000 (UTC)
commit 7ec742d8e345b41a4eb5adf277bf1ca183a1a591
Author: Øyvind Kolås <pippin gimp org>
Date: Tue Nov 21 19:57:46 2017 +0100
operations/common: s/_context_get_source/_context_dup_object/
operations/common/dither.c | 2 +-
operations/common/exp-combine.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/operations/common/dither.c b/operations/common/dither.c
index 8b2ebe0..18d7921 100644
--- a/operations/common/dither.c
+++ b/operations/common/dither.c
@@ -575,7 +575,7 @@ operation_process (GeglOperation *operation,
return FALSE;
}
- input = gegl_operation_context_get_source (context, "input");
+ input = (GeglBuffer*) gegl_operation_context_dup_object (context, "input");
output = gegl_operation_context_get_output_maybe_in_place (operation,
context,
input,
diff --git a/operations/common/exp-combine.c b/operations/common/exp-combine.c
index 85cf37b..181c1d1 100644
--- a/operations/common/exp-combine.c
+++ b/operations/common/exp-combine.c
@@ -926,7 +926,7 @@ gegl_expcombine_get_exposures (GeglOperation *operation,
}
/* Add exposure to list */
- buffer = gegl_operation_context_get_source (context,
+ buffer = (GeglBuffer*)gegl_operation_context_dup_object (context,
gegl_pad_get_name (pad));
if (!buffer)
continue;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]