gnucash master: Multiple changes pushed

Geert Janssens gjanssens at code.gnucash.org
Fri Feb 17 08:05:41 EST 2023


Updated	 via  https://github.com/Gnucash/gnucash/commit/32ae4798 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/03aff564 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/4761aa41 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/edab41f2 (commit)
	from  https://github.com/Gnucash/gnucash/commit/a1d17518 (commit)



commit 32ae47980c09a09b9dc1a7d392d113aaeaa4f8ed
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Feb 17 13:55:43 2023 +0100

    GncGSettings - some minor cleanups
    
    - remove unused macros
    - avoid manual counters

commit 03aff5642a2eb2fb9bb41287044f723c92785fc7
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Feb 17 11:43:25 2023 +0100

    GncGSettings - rework signal handler manipulation
    
    Use ref-counting to manage GSettings object lifecycle
    Use g_signal_handler_handlers_[un]block_matched to
    block or unblock handlers rather than tracking them in
    our own hash table.

commit 4761aa414cef3168d968f26c38cbaf55aefab242
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Feb 17 11:10:22 2023 +0100

    GncGSettings - reduce code duplication
    
    Most getters and setters are identical with the exception of
    the actual function to call into GSettings. Extract
    boilerplate in two template functions and make all
    getters/setters wrappers of these two functions.

commit edab41f23acb26a0558dd2777e3b11d441b84210
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Feb 17 10:44:42 2023 +0100

    GncGSettings - basic c++ cleanups
    
    - declare at first use
    - gboolean->bool (TRUE/true, FALSE/false)



Summary of changes:
 libgnucash/app-utils/gnc-gsettings.cpp | 556 +++++++++++----------------------
 libgnucash/app-utils/gnc-gsettings.h   |  36 +--
 2 files changed, 199 insertions(+), 393 deletions(-)



More information about the gnucash-patches mailing list