[pango/line-breaker: 32/49] testmisc: fix build
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/line-breaker: 32/49] testmisc: fix build
- Date: Mon, 24 Jan 2022 16:03:04 +0000 (UTC)
commit 17c983c4998e6f203d35d601b0d7d857a209de8b
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]