summaryrefslogtreecommitdiff
path: root/tests/test-common.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-19 08:12:42 -0700
committerMatthias Clasen <mclasen@redhat.com>2019-07-19 08:37:26 -0700
commit8df747b7d161d08dca7dc08de032bb0d30a1e9b9 (patch)
tree26b7e25656f663c6dad938b4f1f25ef15a56c936 /tests/test-common.c
parentbf5876e0aba41d6843bc1ec0d1d78b4769e0a86c (diff)
downloadpango-8df747b7d161d08dca7dc08de032bb0d30a1e9b9.tar.gz
tests: Use pango_attr_list_get_attributes
Diffstat (limited to 'tests/test-common.c')
-rw-r--r--tests/test-common.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/test-common.c b/tests/test-common.c
index 83f4d99c..f6286d74 100644
--- a/tests/test-common.c
+++ b/tests/test-common.c
@@ -180,19 +180,6 @@ print_attributes (GSList *attrs, GString *string)
}
}
-typedef struct
-{
- guint ref_count;
- GSList *attributes;
- GSList *attributes_tail;
-} AL;
-
-GSList *
-attr_list_to_list (PangoAttrList *attrs)
-{
- return ((AL*)attrs)->attributes;
-}
-
const char *
get_script_name (GUnicodeScript s)
{