mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 04:38:55 +00:00
egg: Don't use deprecated g_thread_supported() function
Nowadays glib always supports threading.
This commit is contained in:
parent
61e017e2e6
commit
2e8ee7cdb6
@ -102,8 +102,7 @@ egg_libgcrypt_initialize (void)
|
||||
|
||||
/* Only initialize libgcrypt if it hasn't already been initialized */
|
||||
if (!gcry_control (GCRYCTL_INITIALIZATION_FINISHED_P)) {
|
||||
if (g_thread_supported())
|
||||
gcry_control (GCRYCTL_SET_THREAD_CBS, &glib_thread_cbs);
|
||||
gcry_control (GCRYCTL_SET_THREAD_CBS, &glib_thread_cbs);
|
||||
gcry_check_version (LIBGCRYPT_VERSION);
|
||||
gcry_set_log_handler (log_handler, NULL);
|
||||
gcry_set_outofcore_handler (no_mem_handler, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user