summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-01-23 20:41:43 -0500
committerMatthias Clasen <mclasen@redhat.com>2022-01-24 10:58:17 -0500
commit17c983c4998e6f203d35d601b0d7d857a209de8b (patch)
tree4e3ad13834ba50600adfb55828774bb6da6254d9
parent34c387f358b51db7be4b27512a3eb61857044fc9 (diff)
downloadpango-17c983c4998e6f203d35d601b0d7d857a209de8b.tar.gz
testmisc: fix build
-rw-r--r--tests/testmisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testmisc.c b/tests/testmisc.c
index 485ad0a2..7bb46f35 100644
--- a/tests/testmisc.c
+++ b/tests/testmisc.c
@@ -778,7 +778,7 @@ test_wrap_char (void)
context = pango_font_map_create_context (pango_cairo_font_map_get_default ());
layout = pango_simple_layout_new (context);
pango_simple_layout_set_text (layout, "Rows can have suffix widgets", -1);
- pango_simple_layout_set_wrap (layout, PANGO_LINE_WRAP_WORD_CHAR);
+ pango_simple_layout_set_wrap (layout, PANGO_WRAP_WORD_CHAR);
pango_simple_layout_set_width (layout, 0);
pango_lines_get_extents (pango_simple_layout_get_lines (layout), NULL, &ext);