[pango/line-breaker: 37/41] Fix testserialize
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/line-breaker: 37/41] Fix testserialize
- Date: Sat, 22 Jan 2022 17:52:26 +0000 (UTC)
commit 6737a2712ff7b2847a0e616c9149fc71293e08a3
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jan 21 14:04:49 2022 -0500
Fix testserialize
tests/testserialize.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/tests/testserialize.c b/tests/testserialize.c
index e480da31..dabcf798 100644
--- a/tests/testserialize.c
+++ b/tests/testserialize.c
@@ -273,7 +273,6 @@ test_serialize_layout_valid (void)
PangoContext *context;
GBytes *bytes;
PangoLayout *layout;
- PangoTabArray *tabs;
GError *error = NULL;
GBytes *out_bytes;
char *s;
@@ -287,9 +286,7 @@ test_serialize_layout_valid (void)
g_assert_true (PANGO_IS_LAYOUT (layout));
g_assert_cmpstr (pango_layout_get_text (layout), ==, "Some fun with layouts!");
g_assert_nonnull (pango_layout_get_attributes (layout));
- tabs = pango_layout_get_tabs (layout);
- g_assert_nonnull (tabs);
- pango_tab_array_free (tabs);
+ g_assert_nonnull (pango_layout_get_tabs (layout));
s = pango_font_description_to_string (pango_layout_get_font_description (layout));
g_assert_cmpstr (s, ==, "Sans Bold 32");
g_free (s);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]