fix compilation of my previous commit without gpg enabled
authorLuke Plant <L.Plant.98@cantab.net>
Wed, 11 Feb 2004 16:33:41 +0000 (16:33 +0000)
committerLuke Plant <L.Plant.98@cantab.net>
Wed, 11 Feb 2004 16:33:41 +0000 (16:33 +0000)
src/mimeview.c

index 121a0d3..664c871 100644 (file)
@@ -1500,9 +1500,11 @@ static GtkWidget* icon_stock_pixmap_with_privacy (GtkWidget *window, StockPixmap
        while (siginfo != NULL) {
                if (privacy_mimeinfo_is_signed(siginfo)) {
                        is_signed = TRUE;
+#if USE_GPGME
                        if (prefs_common.auto_check_signatures &&
                            (privacy_mimeinfo_get_sig_status(siginfo) == SIGNATURE_UNCHECKED))
                                privacy_mimeinfo_check_signature(siginfo);
+#endif
                        break;
                }
                siginfo = procmime_mimeinfo_parent(siginfo);