[gimp/goat-invasion] app: remove gimp_drawable_type_with_alpha()



commit a1d72aead6943a2f115b26b56dd381ca3161f04c
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]