gnucash maint: Add dedicated api to query build-time, version related compile constants

Geert Janssens gjanssens at code.gnucash.org
Thu Feb 21 11:00:21 EST 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/fce75ea7 (commit)
	from  https://github.com/Gnucash/gnucash/commit/b53d5c65 (commit)



commit fce75ea7481a6738ab88b459f8998a584ba75800
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Thu Feb 21 17:00:15 2019 +0100

    Add dedicated api to query build-time, version related compile constants
    
    And use it in several location in the code for consistent behaviour



Summary of changes:
 .gitignore                                         |  1 -
 gnucash/gnome-utils/gnc-main-window.c              | 25 ++-------
 gnucash/gnome-utils/gnc-splash.c                   | 20 +------
 gnucash/gnucash-bin.c                              | 23 ++------
 libgnucash/core-utils/CMakeLists.txt               | 19 ++-----
 libgnucash/core-utils/core-utils.i                 |  7 +--
 .../io-gncxml-gen.cpp => core-utils/gnc-version.c} | 65 ++++++++++++----------
 .../{gnc-environment.h => gnc-version.h}           | 40 +++++++------
 po/POTFILES.in                                     |  2 +-
 9 files changed, 77 insertions(+), 125 deletions(-)
 copy libgnucash/{backend/xml/io-gncxml-gen.cpp => core-utils/gnc-version.c} (57%)
 copy libgnucash/core-utils/{gnc-environment.h => gnc-version.h} (61%)



More information about the gnucash-patches mailing list