Skip to content
Permalink
Browse files

Merge pull request #1591 from kleisauke/get-language-names

Only call g_get_language_names when GLib < 2.48.1
  • Loading branch information
jcupitt committed Mar 24, 2020
2 parents 080ecbb + 4911928 commit e9c47200dc95b3667b8f73abe6b6ffb84b729eae
Showing with 2 additions and 0 deletions.
  1. +2 −0 libvips/iofuncs/init.c
@@ -391,7 +391,9 @@ vips_init( const char *argv0 )
* we have to make sure we do this single-threaded. See:
* https://github.com/openslide/openslide/issues/161
*/
#if !GLIB_CHECK_VERSION( 2, 48, 1 )
(void) g_get_language_names();
#endif

if( !vips__global_lock )
vips__global_lock = vips_g_mutex_new();

0 comments on commit e9c4720

Please sign in to comment.
You can’t perform that action at this time.