summaryrefslogtreecommitdiff
path: root/pango/pango-utils-internal.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2017-05-17 12:09:14 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2017-05-19 12:01:15 +0100
commit779619ad6712fe9e5c4dabfef61e092e7a8f09f0 (patch)
tree17653c613b2a6c79f116461f7fb72bd323c3a66c /pango/pango-utils-internal.h
parent6eda0ad66039cc99525ac04acf63a3fb1cba252c (diff)
downloadpango-779619ad6712fe9e5c4dabfef61e092e7a8f09f0.tar.gz
Add prototype for _pango_color_parse_with_alpha()
It's used in pango-markup.c and pango-color.c, so it should have an internally-available prototype, instead of an `extern` declaration at the point of use. This also avoids a compiler warning for a missing prototype.
Diffstat (limited to 'pango/pango-utils-internal.h')
-rw-r--r--pango/pango-utils-internal.h20
1 files changed, 12 insertions, 8 deletions
diff --git a/pango/pango-utils-internal.h b/pango/pango-utils-internal.h
index 6af6ed59..d6e55d7c 100644
--- a/pango/pango-utils-internal.h
+++ b/pango/pango-utils-internal.h
@@ -28,16 +28,20 @@
G_BEGIN_DECLS
-gboolean _pango_scan_int (const char **pos,
- int *out);
+gboolean _pango_scan_int (const char **pos,
+ int *out);
-gboolean _pango_parse_enum (GType type,
- const char *str,
- int *value,
- gboolean warn,
- char **possible_values);
+gboolean _pango_parse_enum (GType type,
+ const char *str,
+ int *value,
+ gboolean warn,
+ char **possible_values);
-char *_pango_trim_string (const char *str);
+char *_pango_trim_string (const char *str);
+
+gboolean _pango_color_parse_with_alpha (PangoColor *color,
+ guint16 *alpha,
+ const char *spec);
G_END_DECLS