[pango/line-breaker: 14/31] testmisc: fix build




commit 670a20f579b6ac61dbfbc95dd0496f8d1116bf56
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Jan 23 20:41:43 2022 -0500

    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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]