summaryrefslogtreecommitdiff
path: root/tests/test-common.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-08-22 11:51:44 +0200
committerMatthias Clasen <mclasen@redhat.com>2019-10-31 21:23:59 -0400
commiteda240e4bab967bcdf8d1f556f9ce6cf65c94cb8 (patch)
tree5bd17f6d5f13ffea114acf62b6ffa776d575e3bf /tests/test-common.c
parentde0ab09cdbf5bdfa0caa365a22ac864e41838e48 (diff)
downloadpango-eda240e4bab967bcdf8d1f556f9ce6cf65c94cb8.tar.gz
tests: Handle new attributes
Diffstat (limited to 'tests/test-common.c')
-rw-r--r--tests/test-common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-common.c b/tests/test-common.c
index 012059f4..608b405c 100644
--- a/tests/test-common.c
+++ b/tests/test-common.c
@@ -110,6 +110,7 @@ print_attribute (PangoAttribute *attr, GString *string)
case PANGO_ATTR_SIZE:
case PANGO_ATTR_ABSOLUTE_SIZE:
case PANGO_ATTR_UNDERLINE:
+ case PANGO_ATTR_OVERLINE:
case PANGO_ATTR_STRIKETHROUGH:
case PANGO_ATTR_RISE:
case PANGO_ATTR_FALLBACK:
@@ -129,6 +130,7 @@ print_attribute (PangoAttribute *attr, GString *string)
case PANGO_ATTR_FOREGROUND:
case PANGO_ATTR_BACKGROUND:
case PANGO_ATTR_UNDERLINE_COLOR:
+ case PANGO_ATTR_OVERLINE_COLOR:
case PANGO_ATTR_STRIKETHROUGH_COLOR:
g_string_append_printf (string, "%s", pango_color_to_string (&((PangoAttrColor *)attr)->color));
break;