summaryrefslogtreecommitdiff
path: root/tests/test-layout.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-11-21 23:01:53 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-11-24 19:57:58 -0500
commitc1f9c9f85bf9f400e44477304e5eb135f1183ac9 (patch)
tree76b58ba908a57ee66e513cf3965161ed7fe70977 /tests/test-layout.c
parent12a46f672c5fb5c6232218f02018c30cd44a16e2 (diff)
downloadpango-c1f9c9f85bf9f400e44477304e5eb135f1183ac9.tar.gz
Add flags to serialize and deserialize
This gives us some room to add more things to these apis, e.g. a way to store not just the input part of a layout, but also the output.
Diffstat (limited to 'tests/test-layout.c')
-rw-r--r--tests/test-layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-layout.c b/tests/test-layout.c
index 7415efe7..f4b36c77 100644
--- a/tests/test-layout.c
+++ b/tests/test-layout.c
@@ -236,7 +236,7 @@ test_file (const char *filename, GString *string)
bytes = g_bytes_new_take (contents, length);
- layout = pango_layout_deserialize (context, bytes, &error);
+ layout = pango_layout_deserialize (context, bytes, PANGO_LAYOUT_DESERIALIZE_DEFAULT, &error);
g_assert_no_error (error);
g_bytes_unref (bytes);