gnucash master: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Thu Mar 16 17:22:43 EDT 2023


Updated	 via  https://github.com/Gnucash/gnucash/commit/144b6ae0 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1c496c4b (commit)
	from  https://github.com/Gnucash/gnucash/commit/047dad29 (commit)



commit 144b6ae090e375c3c493b0ab78a9cf1c282aec9e
Merge: 047dad29c2 1c496c4bd5
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Mar 16 14:01:53 2023 -0700

    Merge Richard Cohen's 'fix-gnc-gui-debug-crash' into master.


commit 1c496c4bd505e4a93e18755809476be13c3e77f8
Author: Richard Cohen <richard at daijobu.co.uk>
Date:   Mon Mar 13 10:11:45 2023 +0000

    Fix crash with --log gnc.gui=debug
    
    gnc_main_window_update_one_menu_action() will try to print
    data.action_name

diff --git a/gnucash/gnome-utils/gnc-main-window.cpp b/gnucash/gnome-utils/gnc-main-window.cpp
index 7a940bac72..bd733abda5 100644
--- a/gnucash/gnome-utils/gnc-main-window.cpp
+++ b/gnucash/gnome-utils/gnc-main-window.cpp
@@ -1912,14 +1912,14 @@ gnc_main_window_update_menu_item (GncMainWindow *window)
     g_strfreev (strings);
 
     data.visible = TRUE;
-//    data.action_name = g_strdup_printf ("Window%" G_GSIZE_FORMAT "Action", index);
+    data.action_name = g_strdup_printf ("Window%" G_GSIZE_FORMAT "Action", index);
     data.index = index;
 
     g_list_foreach (active_windows,
                     (GFunc)gnc_main_window_update_one_menu_action,
                     &data);
 
-//    g_free (data.action_name);
+    g_free (data.action_name);
     g_free (data.label);
 
     LEAVE(" ");



Summary of changes:
 gnucash/gnome-utils/gnc-main-window.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list