[gimp] app: avoid the second gegl_node_set() in gimp_gegl_mode_node_set_mode()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: avoid the second gegl_node_set() in gimp_gegl_mode_node_set_mode()
- Date: Sat, 14 Jan 2017 17:36:42 +0000 (UTC)
commit bd66794e2cd8445a826a4691d910a70b2594d8c4
Author: Michael Natterer <mitch gimp org>
Date: Sat Jan 14 18:35:56 2017 +0100
app: avoid the second gegl_node_set() in gimp_gegl_mode_node_set_mode()
app/gegl/gimp-gegl-nodes.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/app/gegl/gimp-gegl-nodes.c b/app/gegl/gimp-gegl-nodes.c
index e85e42a..1db1099 100644
--- a/app/gegl/gimp-gegl-nodes.c
+++ b/app/gegl/gimp-gegl-nodes.c
@@ -424,9 +424,7 @@ gimp_gegl_mode_node_set_mode (GeglNode *node,
gegl_node_set (node,
"operation", operation,
"opacity", opacity,
- NULL);
-
- gegl_node_set (node, "linear", gimp_gegl_mode_is_linear (mode)?TRUE:FALSE,
+ "linear", gimp_gegl_mode_is_linear (mode),
NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]