[gimp] app: remove gimp_drawable_type_with_alpha()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: remove gimp_drawable_type_with_alpha()
- Date: Wed, 2 May 2012 16:33:43 +0000 (UTC)
commit ec2d5647c0b7c96d6a7d61d8d5d2a8f5d2d92ee3
Author: Michael Natterer <mitch gimp org>
Date: Sat Apr 7 02:35:31 2012 +0200
app: remove gimp_drawable_type_with_alpha()
app/core/gimpdrawable.c | 8 --------
app/core/gimpdrawable.h | 1 -
2 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/app/core/gimpdrawable.c b/app/core/gimpdrawable.c
index fd3fa11..b5989c1 100644
--- a/app/core/gimpdrawable.c
+++ b/app/core/gimpdrawable.c
@@ -1635,14 +1635,6 @@ gimp_drawable_type (const GimpDrawable *drawable)
return gimp_babl_format_get_image_type (format);
}
-GimpImageType
-gimp_drawable_type_with_alpha (const GimpDrawable *drawable)
-{
- g_return_val_if_fail (GIMP_IS_DRAWABLE (drawable), -1);
-
- return GIMP_IMAGE_TYPE_WITH_ALPHA (gimp_drawable_type (drawable));
-}
-
GimpImageBaseType
gimp_drawable_get_base_type (const GimpDrawable *drawable)
{
diff --git a/app/core/gimpdrawable.h b/app/core/gimpdrawable.h
index 00acb7f..b3af9c2 100644
--- a/app/core/gimpdrawable.h
+++ b/app/core/gimpdrawable.h
@@ -225,7 +225,6 @@ const Babl * gimp_drawable_get_format_without_alpha
(const GimpDrawable *drawable);
gboolean gimp_drawable_has_alpha (const GimpDrawable *drawable);
GimpImageType gimp_drawable_type (const GimpDrawable *drawable);
-GimpImageType gimp_drawable_type_with_alpha (const GimpDrawable *drawable);
GimpImageBaseType gimp_drawable_get_base_type (const GimpDrawable *drawable);
gboolean gimp_drawable_is_rgb (const GimpDrawable *drawable);
gboolean gimp_drawable_is_gray (const GimpDrawable *drawable);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]