summaryrefslogtreecommitdiff
path: root/pango/pango-context.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-18 09:46:39 -0700
committerMatthias Clasen <mclasen@redhat.com>2019-07-18 09:46:39 -0700
commita867698c7fdc11da8ecaaf1d6a32fafec7d11373 (patch)
tree95df2547f8a9684f31e5795feec2441525fc4906 /pango/pango-context.c
parent4b391df696fe4887ebf3390a77a23293bf8b495c (diff)
downloadpango-a867698c7fdc11da8ecaaf1d6a32fafec7d11373.tar.gz
Fix compiler warnings
Diffstat (limited to 'pango/pango-context.c')
-rw-r--r--pango/pango-context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-context.c b/pango/pango-context.c
index ca4c33b6..44f3c3c0 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -1454,7 +1454,7 @@ string_from_script (PangoScript script)
value = g_enum_get_value (class, script);
if (!value)
- return string_from_script (G_UNICODE_SCRIPT_INVALID_CODE);
+ return string_from_script (PANGO_SCRIPT_INVALID_CODE);
return value->value_nick;
}