gnucash maint: Fix if clause

Geert Janssens gjanssens at code.gnucash.org
Sun Sep 9 17:36:48 EDT 2018


Updated	 via  https://github.com/Gnucash/gnucash/commit/b2d99615 (commit)
	from  https://github.com/Gnucash/gnucash/commit/d069b67d (commit)



commit b2d99615abbede6f863eec208a454a831a0a4dd8
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sun Sep 9 23:36:41 2018 +0200

    Fix if clause
    
    Spotted by Kevin Hale Boyes

diff --git a/gnucash/gnome/gnc-split-reg.c b/gnucash/gnome/gnc-split-reg.c
index 36ced18..589564d 100644
--- a/gnucash/gnome/gnc-split-reg.c
+++ b/gnucash/gnome/gnc-split-reg.c
@@ -452,8 +452,10 @@ gnc_split_reg_dispose(GObject *obj)
     gsr->filter_text = NULL;
 
     if (gsr->reg)
+    {
         g_signal_handlers_disconnect_by_data (gsr->reg, gsr);
         gtk_widget_destroy (GTK_WIDGET (gsr->reg));
+    }
     gsr->reg = NULL;
 }
 



Summary of changes:
 gnucash/gnome/gnc-split-reg.c | 2 ++
 1 file changed, 2 insertions(+)



More information about the gnucash-changes mailing list