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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

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



commit fce75ea7481a6738ab88b459f8998a584ba75800
Author: Geert Janssens <[hidden email]>
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%)

_______________________________________________
gnucash-patches mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-patches