aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-11-16 04:07:20 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-11-16 04:07:20 +0000
commit690f9a59dcfb68ec4901f942ae3e3e596df24b29 (patch)
tree5338f94cae6cad5b6c3a1b3940e70f1357e8fd89
parentca6e1003ef3cfa7bf91a2cc8378ea230be340ec6 (diff)
fixed compilation error if GPGME is not enabled.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@750 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog4
-rw-r--r--ChangeLog.ja5
-rw-r--r--src/compose.c2
3 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index da4e22b0..6189e34c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-11-16
+
+ * src/compose.c: fixed compilation error if GPGME is not enabled.
+
2005-11-15
* src/account_dialog.c: account_open(): popup main window if edit
diff --git a/ChangeLog.ja b/ChangeLog.ja
index ea6d5a64..cb1be711 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,3 +1,8 @@
+2005-11-16
+
+ * src/compose.c: GPGME が有効になっていない場合のコンパイルエラーを
+ 修正。
+
2005-11-15
* src/account_dialog.c: account_open(): アカウント編集ダイアログが
diff --git a/src/compose.c b/src/compose.c
index 50f43a61..fcc40a12 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -4289,8 +4289,10 @@ static Compose *compose_create(PrefsAccount *account, ComposeMode mode)
gtk_table_set_row_spacing(GTK_TABLE(table), 2, 0);
}
+#if USE_GPGME
if (!rfc2015_is_available())
gtk_widget_hide(misc_hbox);
+#endif
switch (prefs_common.toolbar_style) {
case TOOLBAR_NONE: