diff options
Diffstat (limited to 'src/mem_pool.c')
-rw-r--r-- | src/mem_pool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem_pool.c b/src/mem_pool.c index c68ae4b13..05f1bc690 100644 --- a/src/mem_pool.c +++ b/src/mem_pool.c @@ -199,7 +199,7 @@ memory_pool_new (gsize size) /* Set it upon first call of set variable */ new->variables = NULL; #if ((GLIB_MAJOR_VERSION == 2) && (GLIB_MINOR_VERSION <= 30)) - new->mtx = G_STATIC_MUTEX_INIT; + g_static_mutex_init (&new->mtx); #else g_mutex_init (&new->mtx); #endif |