summaryrefslogtreecommitdiff
path: root/tests/test-layout.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-10-15 18:39:02 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-05-25 00:40:58 +0000
commit3e754defc364a89b2136894399b3463976840156 (patch)
treec1e6a79107b1fc2b078a648d719f152489d98ed7 /tests/test-layout.c
parentbe0357359d975aa93d3683c5c5f4ea382b33ca5b (diff)
downloadpango-3e754defc364a89b2136894399b3463976840156.tar.gz
Replace PangoScript by GUnicodeScript
This commit replaces the PangoScript enum by a typedef to GUnicodeScript, and preserves the old enum values as defines. This depends on adding an enum type for GUnicodeScript in gobject.
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 4bce4439..d206c050 100644
--- a/tests/test-layout.c
+++ b/tests/test-layout.c
@@ -66,7 +66,7 @@ gravity_name (PangoGravity gravity)
static const gchar *
script_name (PangoScript script)
{
- return enum_value_nick (PANGO_TYPE_SCRIPT, script);
+ return enum_value_nick (G_TYPE_UNICODE_SCRIPT, script);
}
static gchar *