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-engine.c | |
parent | a4eeee8e222db740ca83d29217d707db1160ada8 (diff) | |
download | pango-f160843b9afab5d8f39654580d7583cf49b0c242.tar.gz |
More thread-safety
Diffstat (limited to 'pango/pango-engine.c')
-rw-r--r-- | pango/pango-engine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-engine.c b/pango/pango-engine.c index eb75dd0b..7b2c2fd6 100644 --- a/pango/pango-engine.c +++ b/pango/pango-engine.c @@ -197,7 +197,7 @@ pango_fallback_engine_class_init (PangoFallbackEngineClass *class) PangoEngineShape * _pango_get_fallback_shaper (void) { - static PangoEngineShape *fallback_shaper = NULL; + static PangoEngineShape *fallback_shaper = NULL; /* MT-safe */ if (g_once_init_enter ((gsize*)&fallback_shaper)) g_once_init_leave((gsize*)&fallback_shaper, (gsize)g_object_new (pango_fallback_engine_get_type (), NULL)); |