[balsa] Remove 'debug-threads' option



commit ce935873faba27a5c32d92d960f4b4fefddf0867
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Sat Sep 23 11:09:06 2017 -0400

    Remove 'debug-threads' option
    
        * meson.build: do not use it.
        * meson_options.txt: do not define it.

 ChangeLog         |   13 +++++++++++++
 meson.build       |    5 -----
 meson_options.txt |    5 -----
 3 files changed, 13 insertions(+), 10 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index f0fbbd7..68fc2d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,20 @@
+2017-09-23  Peter Bloomfield  <pbloomfield bellsouth net>
+
+       Remove 'debug-threads' option
+
+       * meson.build: do not use it.
+       * meson_options.txt: do not define it.
+
 2017-09-23  Albrecht Dreß <albrecht dress arcor de>
 
        Remove deprecated gdk_threads_* stuff
 
+       In an attempt to clean up the code and to simplify the configure
+       file, this patch:
+       * removes gdk_threads_(enter|leave) calls from the code,
+       * removes the related “--enable-debug-threads” configure option and
+       * replaces the calls to gdk_threads_add_idle() by g_idle_add().
+
        * configure.ac:
        * libbalsa/address-view.c (lbav_ensure_blank_line):
        * libbalsa/identity.c (sd_response_ok):
diff --git a/meson.build b/meson.build
index 9511e68..7663ed3 100644
--- a/meson.build
+++ b/meson.build
@@ -43,11 +43,6 @@ if get_option('fcntl')
     description : 'Define if fcntl locking should be used.')
 endif
 
-if get_option('debug-threads')
-  conf.set('BALSA_DEBUG_THREADS', 1,
-    description : 'Defined to debug threads.')
-endif
-
 gnome_desktop = get_option('gnome-desktop')
 gpgmecfg      = get_option('gpgme')
 canberra      = get_option('canberra')
diff --git a/meson_options.txt b/meson_options.txt
index e5a843a..2bbd1ce 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -13,11 +13,6 @@ option('fcntl',
   value       : true,
   description : 'Use fcntl() to lock files (default=true)')
 
-option('debug-threads',
-  type        : 'boolean',
-  value       : false,
-  description : 'Debug threads (default=false)')
-
 option('gpgme',
   type        : 'string',
   value       : 'false',


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