aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-account-editor.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-03-03 00:33:49 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:41 +0800
commitfe489b4e3081a111138a47bfed8faa4c9e5c7e59 (patch)
tree0cf74cc1dad6c45cb5c2054d25ad75d56a8c3303 /mail/em-account-editor.c
parent3a586057909181bc54ac6581386b065e06f5cab9 (diff)
downloadgsoc2013-evolution-fe489b4e3081a111138a47bfed8faa4c9e5c7e59.tar
gsoc2013-evolution-fe489b4e3081a111138a47bfed8faa4c9e5c7e59.tar.gz
gsoc2013-evolution-fe489b4e3081a111138a47bfed8faa4c9e5c7e59.tar.bz2
gsoc2013-evolution-fe489b4e3081a111138a47bfed8faa4c9e5c7e59.tar.lz
gsoc2013-evolution-fe489b4e3081a111138a47bfed8faa4c9e5c7e59.tar.xz
gsoc2013-evolution-fe489b4e3081a111138a47bfed8faa4c9e5c7e59.tar.zst
gsoc2013-evolution-fe489b4e3081a111138a47bfed8faa4c9e5c7e59.zip
Bug #643402 - Fails to build with --disable-smime
Diffstat (limited to 'mail/em-account-editor.c')
-rw-r--r--mail/em-account-editor.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index e7973cd774..0c2e2744c0 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -68,7 +68,7 @@
#include "mail-ops.h"
#include "mail-mt.h"
-#if defined (HAVE_NSS)
+#if defined (HAVE_NSS) && defined (ENABLE_SMIME)
#include "smime/gui/e-cert-selector.h"
#endif
@@ -1131,7 +1131,7 @@ emae_account_folder (EMAccountEditor *emae, const gchar *name, gint item, gint d
return folder;
}
-#if defined (HAVE_NSS)
+#if defined (HAVE_NSS) && defined (ENABLE_SMIME)
static void
smime_changed (EMAccountEditor *emae)
{
@@ -3116,7 +3116,7 @@ static GtkWidget *
emae_security_page (EConfig *ec, EConfigItem *item, GtkWidget *parent, GtkWidget *old, gpointer data)
{
EMAccountEditor *emae = data;
-#if defined (HAVE_NSS)
+#if defined (HAVE_NSS) && defined (ENABLE_SMIME)
EMAccountEditorPrivate *priv = emae->priv;
#endif
GtkWidget *w;
@@ -3136,7 +3136,7 @@ emae_security_page (EConfig *ec, EConfigItem *item, GtkWidget *parent, GtkWidget
emae_account_toggle (emae, "pgp_no_imip_sign", E_ACCOUNT_PGP_NO_IMIP_SIGN, builder);
emae_account_toggle (emae, "pgp_always_trust", E_ACCOUNT_PGP_ALWAYS_TRUST, builder);
-#if defined (HAVE_NSS)
+#if defined (HAVE_NSS) && defined (ENABLE_SMIME)
/* TODO: this should handle its entry separately? */
priv->smime_sign_key = emae_account_entry (emae, "smime_sign_key", E_ACCOUNT_SMIME_SIGN_KEY, builder);
priv->smime_sign_key_select = (GtkButton *)e_builder_get_widget (builder, "smime_sign_key_select");