summaryrefslogtreecommitdiff
path: root/tests/test-common.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-07-10 14:42:12 +0000
committerMatthias Clasen <mclasen@redhat.com>2021-07-10 14:42:12 +0000
commit47e75d6fcb32c5a59dca30b2b8ebf6a30d0e83f4 (patch)
tree61ab9a0ee2192253477db1586c4cc00bd84424f7 /tests/test-common.c
parent96bcf49c1b0d7a0dc82d2dd3b20ca340100be841 (diff)
parent2926528b5b8044591c9307e280eff3ae6bec48d5 (diff)
downloadpango-47e75d6fcb32c5a59dca30b2b8ebf6a30d0e83f4.tar.gz
Merge branch 'matthiasc/for-master' into 'master'
Add a way to show fonts in test-layout output See merge request GNOME/pango!371
Diffstat (limited to 'tests/test-common.c')
-rw-r--r--tests/test-common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-common.c b/tests/test-common.c
index 14e9941a..66493990 100644
--- a/tests/test-common.c
+++ b/tests/test-common.c
@@ -225,7 +225,8 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
PangoAttribute *
attribute_from_string (const char *string)
{
- char *s, *p;
+ const char *s;
+ char *p;
PangoAttribute *attr;
long long start, end;
GEnumClass *class;