summaryrefslogtreecommitdiff
path: root/egg
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-04-19 16:35:08 +0200
committerStef Walter <stefw@gnome.org>2013-04-19 16:35:08 +0200
commit8fcd7ce443aabe1f563ad6753af2cae4ee052cfd (patch)
treec024be8ad8c3476b7a1355fc4f75702f1f9b826d /egg
parentaa45e1f25343249e6e493db8be5e6852c45d1558 (diff)
downloadgcr-8fcd7ce443aabe1f563ad6753af2cae4ee052cfd.tar.gz
Fix for deprecated glib functionality
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 e2afc98..0ba84fe 100644
--- a/egg/egg-libgcrypt.c
+++ b/egg/egg-libgcrypt.c
@@ -100,8 +100,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);