From 33479c1086c3181307ad0fe5b3c8ab53ebfd4c01 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Sat, 22 Jan 2011 23:54:25 +0100 Subject: [PATCH] app: use gegl_node_has_pad() instead of gegl_node_get_pad() --- app/core/gimpimagemap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/core/gimpimagemap.c b/app/core/gimpimagemap.c index 3dba5bc493..5904cd48ed 100644 --- a/app/core/gimpimagemap.c +++ b/app/core/gimpimagemap.c @@ -398,8 +398,8 @@ gimp_image_map_apply (GimpImageMap *image_map, g_object_unref (sink_operation); } - if (gegl_node_get_pad (image_map->operation, "input") && - gegl_node_get_pad (image_map->operation, "output")) + if (gegl_node_has_pad (image_map->operation, "input") && + gegl_node_has_pad (image_map->operation, "output")) { /* if there are input and output pads we probably have a * filter OP, connect it on both ends. @@ -410,7 +410,7 @@ gimp_image_map_apply (GimpImageMap *image_map, image_map->output, NULL); } - else if (gegl_node_get_pad (image_map->operation, "output")) + else if (gegl_node_has_pad (image_map->operation, "output")) { /* if there is only an output pad we probably have a * source OP, blend its result on top of the original