[gdk-pixbuf/wip/hadess/remove-xlib: 2/2] gdk-pixbuf: Remove unused GdkPixbufAlphaMode
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdk-pixbuf/wip/hadess/remove-xlib: 2/2] gdk-pixbuf: Remove unused GdkPixbufAlphaMode
- Date: Sat, 2 Mar 2019 17:16:05 +0000 (UTC)
commit db43c7d32217f70bc87e9df26c7482ae1d2c78c1
Author: Bastien Nocera <hadess hadess net>
Date: Sat Mar 2 18:13:01 2019 +0100
gdk-pixbuf: Remove unused GdkPixbufAlphaMode
docs/gdk-pixbuf-sections.txt | 1 -
gdk-pixbuf/gdk-pixbuf-core.h | 24 ------------------------
2 files changed, 25 deletions(-)
---
diff --git a/docs/gdk-pixbuf-sections.txt b/docs/gdk-pixbuf-sections.txt
index c083d5ad3..647c8eec8 100644
--- a/docs/gdk-pixbuf-sections.txt
+++ b/docs/gdk-pixbuf-sections.txt
@@ -106,7 +106,6 @@ GDK_PIXBUF_DEPRECATED_IN_2_36_FOR
GdkPixbufError
GDK_PIXBUF_ERROR
GdkColorspace
-GdkPixbufAlphaMode
GdkPixbuf
gdk_pixbuf_get_colorspace
gdk_pixbuf_get_n_channels
diff --git a/gdk-pixbuf/gdk-pixbuf-core.h b/gdk-pixbuf/gdk-pixbuf-core.h
index f4c928d89..4b3dc58e3 100644
--- a/gdk-pixbuf/gdk-pixbuf-core.h
+++ b/gdk-pixbuf/gdk-pixbuf-core.h
@@ -105,30 +105,6 @@ G_BEGIN_DECLS
*/
-/**
- * GdkPixbufAlphaMode:
- * @GDK_PIXBUF_ALPHA_BILEVEL: A bilevel clipping mask (black and white)
- * will be created and used to draw the image. Pixels below 0.5 opacity
- * will be considered fully transparent, and all others will be
- * considered fully opaque.
- * @GDK_PIXBUF_ALPHA_FULL: For now falls back to #GDK_PIXBUF_ALPHA_BILEVEL.
- * In the future it will do full alpha compositing.
- *
- * These values can be passed to
- * gdk_pixbuf_xlib_render_to_drawable_alpha() to control how the alpha
- * channel of an image should be handled. This function can create a
- * bilevel clipping mask (black and white) and use it while painting
- * the image. In the future, when the X Window System gets an alpha
- * channel extension, it will be possible to do full alpha
- * compositing onto arbitrary drawables. For now both cases fall
- * back to a bilevel clipping mask.
- */
-typedef enum
-{
- GDK_PIXBUF_ALPHA_BILEVEL,
- GDK_PIXBUF_ALPHA_FULL
-} GdkPixbufAlphaMode;
-
/**
* GdkColorspace:
* @GDK_COLORSPACE_RGB: Indicates a red/green/blue additive color space.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]