mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
nm: omit deprecated g_type_init() when using >= GLIB 2.36
This commit is contained in:
parent
2d5a20061a
commit
896abbefc5
@ -116,7 +116,9 @@ static bool nm_backend_init()
|
||||
{
|
||||
nm_backend_t *this;
|
||||
|
||||
#if !GLIB_CHECK_VERSION(2,36,0)
|
||||
g_type_init ();
|
||||
#endif
|
||||
|
||||
#if !GLIB_CHECK_VERSION(2,23,0)
|
||||
if (!g_thread_supported())
|
||||
|
Loading…
x
Reference in New Issue
Block a user