gnucash master: Housekeeping - clarify the use of the word backend in a warning message

Geert Janssens gjanssens at code.gnucash.org
Fri Feb 28 14:46:21 EST 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/5c468b33 (commit)
	from  https://github.com/Gnucash/gnucash/commit/e501de8e (commit)



commit 5c468b33bfdc4fe3433faf187ee7dab1c64d6569
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Feb 28 20:46:16 2020 +0100

    Housekeeping - clarify the use of the word backend in a warning message
    
    In this context backend refers to a preferences implementation.
    To disambiguate this from our qof backends, add the word 'preferences'

diff --git a/libgnucash/core-utils/gnc-prefs.c b/libgnucash/core-utils/gnc-prefs.c
index d65411d62..b0369bc86 100644
--- a/libgnucash/core-utils/gnc-prefs.c
+++ b/libgnucash/core-utils/gnc-prefs.c
@@ -133,7 +133,7 @@ gulong gnc_prefs_register_cb (const char *group,
     if (prefsbackend && prefsbackend->register_cb)
         return (prefsbackend->register_cb) (group, pref_name, func, user_data);
     else
-        g_warning ("no backend loaded, or the backend doesn't define register_cb, returning 0");
+        g_warning ("no preferences backend loaded, or the backend doesn't define register_cb, returning 0");
         return 0;
 }
 



Summary of changes:
 libgnucash/core-utils/gnc-prefs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list