summaryrefslogtreecommitdiff
path: root/egg
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-02-13 17:18:17 +0100
committerStef Walter <stefw@gnome.org>2013-02-13 17:18:17 +0100
commit2e8ee7cdb64bcac94e3996ffc664c73fdc3f4a4c (patch)
tree53ddfdc7a98c544f895b28f597a9a60245a3aeb0 /egg
parent61e017e2e6bd86e5a999957f7014226af9cc7423 (diff)
downloadlibsecret-2e8ee7cdb64bcac94e3996ffc664c73fdc3f4a4c.tar.gz
egg: Don't use deprecated g_thread_supported() function
Nowadays glib always supports threading.
Diffstat (limited to 'egg')
-rw-r--r--egg/egg-libgcrypt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/egg/egg-libgcrypt.c b/egg/egg-libgcrypt.c
index d8eb0d2..22f005d 100644
--- a/egg/egg-libgcrypt.c
+++ b/egg/egg-libgcrypt.c
@@ -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);