mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-06 03:30:42 +01:00
libnm-glib: don't use deprecated g_thread_supported() and g_thread_init()
Building the sources requires libnm newer than glib 2.32, but g_thread_supported() and g_thread_init() are deprecated since 2.32. This causes a build failure due to the deprecated warning.
This commit is contained in:
parent
67128fe6c0
commit
49069cad59
1 changed files with 0 additions and 2 deletions
|
|
@ -483,8 +483,6 @@ libnm_glib_init (void)
|
|||
{
|
||||
libnm_glib_ctx *ctx = NULL;
|
||||
|
||||
if (!g_thread_supported ())
|
||||
g_thread_init (NULL);
|
||||
dbus_g_thread_init ();
|
||||
|
||||
if (!(ctx = _libnm_glib_ctx_new ()))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue