From 17c983c4998e6f203d35d601b0d7d857a209de8b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 23 Jan 2022 20:41:43 -0500 Subject: testmisc: fix build --- tests/testmisc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1