[pan2] build fixes for gmime_crypto
- From: Heinrich MÃller <henmull src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pan2] build fixes for gmime_crypto
- Date: Tue, 31 Jan 2012 20:37:42 +0000 (UTC)
commit 7d22953df16433527009d27adbf44b9794a7c7d6
Author: Heinrich MÃller <henmull src gnome org>
Date: Tue Jan 31 21:36:22 2012 +0100
build fixes for gmime_crypto
pan/gui/body-pane.cc | 4 ++--
pan/gui/body-pane.h | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/pan/gui/body-pane.cc b/pan/gui/body-pane.cc
index db94689..04b4c46 100644
--- a/pan/gui/body-pane.cc
+++ b/pan/gui/body-pane.cc
@@ -1294,7 +1294,7 @@ BodyPane :: sig_status_clicked_cb(GtkWidget *widget,
void
BodyPane :: update_sig_valid(int i)
{
-
+#ifdef HAVE_GIME_CRYPTO
switch (i)
{
case 0:
@@ -1311,6 +1311,7 @@ BodyPane :: update_sig_valid(int i)
gtk_widget_hide(_sig_status_hbox);
break;
}
+#endif
}
void
@@ -1337,7 +1338,6 @@ BodyPane :: set_article (const Article& a)
else
val = -1;
}
-
update_sig_valid(val);
#endif
refresh ();
diff --git a/pan/gui/body-pane.h b/pan/gui/body-pane.h
index 0c6387a..24ff6d2 100644
--- a/pan/gui/body-pane.h
+++ b/pan/gui/body-pane.h
@@ -47,9 +47,10 @@ namespace pan
HeaderPane* _header_pane;
Data& _data;
ArticleCache& _cache;
+#ifdef HAVE_GMIME_CRYPTO
GtkWidget* _sig_status;
GtkWidget* _sig_status_hbox;
-
+#endif
void update_sig_valid(int i);
static gboolean sig_status_clicked_cb(GtkWidget *widget,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]