summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
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 04614b15..0df3cd2f 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 (PANGO_TYPE_SCRIPT);
+ class = g_type_class_ref (G_TYPE_UNICODE_SCRIPT);
value = g_enum_get_value (class, script);
g_assert (value);