From cd60b9ef5c24dc5d32f83ebfa9b08efde2e8e1cd Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Fri, 11 Sep 2009 21:31:55 +0200 Subject: [PATCH] gimp_channel_convert(): use gimp_drawable_convert_type() --- app/core/gimpchannel.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/core/gimpchannel.c b/app/core/gimpchannel.c index d212ab947e..7d57c02ba9 100644 --- a/app/core/gimpchannel.c +++ b/app/core/gimpchannel.c @@ -41,7 +41,6 @@ #include "gimp.h" #include "gimp-utils.h" #include "gimpcontainer.h" -#include "gimpdrawable-convert.h" #include "gimperror.h" #include "gimpimage.h" #include "gimpimage-quick-mask.h" @@ -435,7 +434,7 @@ gimp_channel_convert (GimpItem *item, if (! gimp_drawable_is_gray (drawable)) { - gimp_drawable_convert_grayscale (drawable); + gimp_drawable_convert_type (drawable, NULL, GIMP_GRAY); } if (gimp_drawable_has_alpha (drawable))