diff options
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pango-color.c | 1 | ||||
-rw-r--r-- | pango/pango-markup.c | 5 | ||||
-rw-r--r-- | pango/pango-utils-internal.h | 20 |
3 files changed, 13 insertions, 13 deletions
diff --git a/pango/pango-color.c b/pango/pango-color.c index 2f344765..3c37c3d0 100644 --- a/pango/pango-color.c +++ b/pango/pango-color.c @@ -26,6 +26,7 @@ #include "pango-attributes.h" #include "pango-impl-utils.h" +#include "pango-utils-internal.h" G_DEFINE_BOXED_TYPE (PangoColor, pango_color, pango_color_copy, diff --git a/pango/pango-markup.c b/pango/pango-markup.c index c174736d..22bf4fef 100644 --- a/pango/pango-markup.c +++ b/pango/pango-markup.c @@ -1000,11 +1000,6 @@ span_parse_boolean (const char *attr_name, return TRUE; } -extern gboolean -_pango_color_parse_with_alpha (PangoColor *color, - guint16 *alpha, - const char *spec); - static gboolean span_parse_color (const char *attr_name, const char *attr_val, 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 |