summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@posteo.net>2019-05-27 13:21:38 +0000
committerMichael Catanzaro <mcatanzaro@posteo.net>2019-05-27 13:21:38 +0000
commitaaf44b08dd619e545e12ef0c106e5685b68233c3 (patch)
tree8a0999ddcf0e687550a297c3960b05bfbf8b216a /tools
parent119b868619184fb46961ae63a440fe72bad4c7b1 (diff)
downloadpango-aaf44b08dd619e545e12ef0c106e5685b68233c3.tar.gz
Revert "Replace PangoScript by GUnicodeScript"
This reverts commit 3e754defc364a89b2136894399b3463976840156
Diffstat (limited to 'tools')
-rw-r--r--tools/gen-script-for-lang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gen-script-for-lang.c b/tools/gen-script-for-lang.c
index 0df3cd2f..04614b15 100644
--- a/tools/gen-script-for-lang.c
+++ b/tools/gen-script-for-lang.c
@@ -49,7 +49,7 @@ static const char *get_script_name (PangoScript script)
static GEnumClass *class = NULL;
GEnumValue *value;
if (!class)
- class = g_type_class_ref (G_TYPE_UNICODE_SCRIPT);
+ class = g_type_class_ref (PANGO_TYPE_SCRIPT);
value = g_enum_get_value (class, script);
g_assert (value);