Re: [Patch] Remove deprecated gdk_threads_* stuff



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Albrecht:

On 09/23/2017 07:55:50 AM Sat, Albrecht Dreß wrote:
Hi all:

Am 13.09.17 02:21 schrieb(en) Peter Bloomfield:
It was put in to help find code paths that result in calls to Gtk from sub-threads, which are verboten. It 
hasn't found any in years, so it can presumably be dumped. And since gdk_threads_{enter,leave} have been 
disabled for the same length of time, we could clean up the code by also deleting all mentions of them, 
instead of defining them away.

In an attempt to clean up the code and to simplify the configure file, please find attached a patch which
* 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().

Thanks for the cleanup! Pushed to master…

Peter
-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQS030wPRfNNA5alz3MfX9S1uSp09QUCWcZwnAAKCRAfX9S1uSp0
9XPdAKCeOB1UlGOouwGFsZHFv9RnxCG0ygCfR16eqTaDLNthGSsg54jvxCZBwBc=
=b2wm
-----END PGP SIGNATURE-----


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