[gcr] Fix for deprecated glib functionality
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcr] Fix for deprecated glib functionality
- Date: Fri, 19 Apr 2013 15:20:06 +0000 (UTC)
commit 8fcd7ce443aabe1f563ad6753af2cae4ee052cfd
Author: Stef Walter <stefw gnome org>
Date: Fri Apr 19 16:35:08 2013 +0200
Fix for deprecated glib functionality
egg/egg-libgcrypt.c | 3 +--
1 file changed, 1 insertion(+), 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]