[gmime] Finer-grained ENABLE_CRYPTO initialization



commit 01f7b520b957565ede9e24174391126f35a82cc0
Author: Jeffrey Stedfast <fejj gnome org>
Date:   Thu Dec 15 22:23:32 2011 -0500

    Finer-grained ENABLE_CRYPTO initialization

 gmime/gmime.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gmime/gmime.c b/gmime/gmime.c
index b91c0e9..cbf0f65 100644
--- a/gmime/gmime.c
+++ b/gmime/gmime.c
@@ -120,13 +120,13 @@ g_mime_init (guint32 flags)
 	gmime_error_quark = g_quark_from_static_string ("gmime");
 	
 	/* register our GObject types with the GType system */
-#ifdef ENABLE_CRYPTOGRAPHY
 	g_mime_crypto_context_get_type ();
 	g_mime_decrypt_result_get_type ();
 	g_mime_certificate_list_get_type ();
 	g_mime_signature_list_get_type ();
 	g_mime_certificate_get_type ();
 	g_mime_signature_get_type ();
+#ifdef ENABLE_CRYPTOGRAPHY
 	g_mime_gpg_context_get_type ();
 	g_mime_pkcs7_context_get_type ();
 #endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]