diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2012-08-27 23:31:02 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2012-08-27 23:31:02 -0400 |
commit | f160843b9afab5d8f39654580d7583cf49b0c242 (patch) | |
tree | c3689b4082e3b36f66db86a937b6e9a51319c638 /pango/pango-context.c | |
parent | a4eeee8e222db740ca83d29217d707db1160ada8 (diff) | |
download | pango-f160843b9afab5d8f39654580d7583cf49b0c242.tar.gz |
More thread-safety
Diffstat (limited to 'pango/pango-context.c')
-rw-r--r-- | pango/pango-context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-context.c b/pango/pango-context.c index cdb6a53a..97cb2786 100644 --- a/pango/pango-context.c +++ b/pango/pango-context.c @@ -1366,7 +1366,7 @@ itemize_state_update_for_new_run (ItemizeState *state) static const char * string_from_script (PangoScript script) { - static GEnumClass *class = NULL; + static GEnumClass *class = NULL; /* MT-safe */ GEnumValue *value; if (g_once_init_enter ((gsize*)&class)) g_once_init_leave((gsize*)&class, (gsize)g_type_class_ref (PANGO_TYPE_SCRIPT)); |