gnucash stable: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Mon Nov 6 15:39:23 EST 2023


Updated	 via  https://github.com/Gnucash/gnucash/commit/4da655d0 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/4e937f55 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/e183d1d8 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/fbc183a5 (commit)
	from  https://github.com/Gnucash/gnucash/commit/da6f20dd (commit)



commit 4da655d0f996d486a187360b4e0a5b64ee3eaa69
Merge: 4e937f55c5 fbc183a544
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Nov 6 12:33:41 2023 -0800

    Merge Adam Wight's 'mem-fix' into stable.


commit 4e937f55c5667421daa5ed6a64b9b0e2f89d6a9d
Merge: da6f20ddab e183d1d858
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Nov 6 12:20:59 2023 -0800

    Merge Hades's 'patch-1' into stable.


commit e183d1d858d61b347a05983516a501fbe9edebd8
Author: hades <dev at hades.name>
Date:   Mon Nov 6 17:16:04 2023 +0100

    add a tip on keyboard shortcuts

diff --git a/doc/tip_of_the_day.list.c b/doc/tip_of_the_day.list.c
index fc59767a5d..780992414f 100644
--- a/doc/tip_of_the_day.list.c
+++ b/doc/tip_of_the_day.list.c
@@ -126,6 +126,9 @@ to a single account, start the search from that account's register.")
 in one of the tabs, select Window->New Window with Page \
 from the menu to duplicate that tab in a new window.")
 
+ N_( "You can assign or modify keyboard shortcuts for many GnuCash \
+actions. See https://wiki.gnucash.org/wiki/Keyboard_Shortcuts.")
+
  N_( "There is a theory that if ever anyone discovers what \
 the Universe is for and why it is here, it will instantly \
 disappear and be replaced with something even more bizarre and \

commit fbc183a544d51aef9f4c343ae4c6a93a1896c508
Author: Adam Wight <adam.wight at wikimedia.de>
Date:   Sun Nov 5 23:58:01 2023 +0100

    Always return an allocated gchar*
    
    Returning the literal string will cause the caller to free unallocated
    memory.

diff --git a/libgnucash/core-utils/gnc-path.c b/libgnucash/core-utils/gnc-path.c
index 99adef2799..b6404f5bbc 100644
--- a/libgnucash/core-utils/gnc-path.c
+++ b/libgnucash/core-utils/gnc-path.c
@@ -145,7 +145,7 @@ gchar *gnc_path_get_localedir()
     {
         g_free (prefix);
         g_free (locale_subdir);
-        return LOCALEDIR;
+        return g_strdup (LOCALEDIR);
     }
     else
     {



Summary of changes:
 doc/tip_of_the_day.list.c        | 3 +++
 libgnucash/core-utils/gnc-path.c | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)



More information about the gnucash-changes mailing list