summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-05-25 17:28:34 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-05-25 17:28:34 +0000
commit119b868619184fb46961ae63a440fe72bad4c7b1 (patch)
tree633e420ff47761b3c3de6e19dc05c0680bbe566b /tools
parentbe0357359d975aa93d3683c5c5f4ea382b33ca5b (diff)
parent6a2d2ce7852e9aca0dbc01f3a7594a048ce76240 (diff)
downloadpango-119b868619184fb46961ae63a440fe72bad4c7b1.tar.gz
Merge branch 'kill-pango-script' into 'master'
Replace PangoScript by GUnicodeScript See merge request GNOME/pango!27
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);