[balsa] Build with --disable-threads



commit 40e4d2fff4cc63af4814f3d26a3bc76625c74cf7
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Thu Aug 20 08:00:41 2009 -0400

    Build with --disable-threads

 ChangeLog         |    4 ++++
 src/main-window.c |    2 ++
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index fd7242c..a97b104 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-08-20  Peter Bloomfield
+
+	* src/main-window.c: build with --disable-threads.
+
 2009-08-19  Peter Bloomfield
 
 	* libbalsa/address-book-gpe.c
diff --git a/src/main-window.c b/src/main-window.c
index 2135c0b..cf3e0f0 100644
--- a/src/main-window.c
+++ b/src/main-window.c
@@ -1805,8 +1805,10 @@ balsa_window_new()
     g_signal_connect(window, "notify::is-active",
                      G_CALLBACK(bw_is_active_notify), NULL);
 
+#ifdef BALSA_USE_THREADS
     /* set initial state of Get-New-Mail button */
     bw_set_sensitive(window, "GetNewMail", !checking_mail);
+#endif
 
     gtk_widget_show(GTK_WIDGET(window));
     return GTK_WIDGET(window);



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