summaryrefslogtreecommitdiff
path: root/pango/pango-attributes.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-07-31 14:28:02 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-07-31 14:28:02 -0400
commit09111969bd5aef2b424c515a1f41bb857ca436d6 (patch)
tree72dd29e8e39796eb30c39c00e738a69ac379eed7 /pango/pango-attributes.h
parent08d372d657368711038f6c9c328cde18a6582123 (diff)
downloadpango-09111969bd5aef2b424c515a1f41bb857ca436d6.tar.gz
Export pango_parse_color_with_alpha
This will be useful to make GdkRGBA support hex formats with alpha.
Diffstat (limited to 'pango/pango-attributes.h')
-rw-r--r--pango/pango-attributes.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/pango/pango-attributes.h b/pango/pango-attributes.h
index 6f6622ab..dd38aee2 100644
--- a/pango/pango-attributes.h
+++ b/pango/pango-attributes.h
@@ -65,7 +65,12 @@ PANGO_AVAILABLE_IN_ALL
void pango_color_free (PangoColor *color);
PANGO_AVAILABLE_IN_ALL
gboolean pango_color_parse (PangoColor *color,
- const char *spec);
+ const char *spec);
+PANGO_AVAILABLE_IN_1_46
+gboolean pango_color_parse_with_alpha
+ (PangoColor *color,
+ guint16 *alpha,
+ const char *spec);
PANGO_AVAILABLE_IN_1_16
gchar *pango_color_to_string(const PangoColor *color);