[pango/visible-things: 3/11] itemize test: Update for new attributes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/visible-things: 3/11] itemize test: Update for new attributes
- Date: Sat, 13 Jul 2019 23:53:07 +0000 (UTC)
commit 3460d0c37beffa806fe67ae4a222fdc44efa0218
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jul 13 16:00:29 2019 -0400
itemize test: Update for new attributes
tests/test-itemize.c | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/tests/test-itemize.c b/tests/test-itemize.c
index f9354c4d..b5039b4a 100644
--- a/tests/test-itemize.c
+++ b/tests/test-itemize.c
@@ -177,6 +177,15 @@ append_attribute (PangoAttribute *attr, GString *string)
case PANGO_ATTR_BACKGROUND_ALPHA:
g_string_append_printf (string, "bgalpha=%d", ((PangoAttrInt*)attr)->value);
break;
+ case PANGO_ATTR_SHOW_IGNORABLES:
+ g_string_append_printf (string, "show_ignorables=%d", ((PangoAttrInt*)attr)->value);
+ break;
+ case PANGO_ATTR_SHOW_SPACE:
+ g_string_append_printf (string, "show_space=%d", ((PangoAttrInt*)attr)->value);
+ break;
+ case PANGO_ATTR_SHOW_LINE_SEPARATORS:
+ g_string_append_printf (string, "show_line_separators=%d", ((PangoAttrInt*)attr)->value);
+ break;
default:
g_assert_not_reached ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]