gnucash maint: Add missing comma in call to gtk_tree_store_set().

Geert Janssens gjanssens at code.gnucash.org
Tue Oct 28 10:29:22 EDT 2014


Updated	 via  https://github.com/Gnucash/gnucash/commit/4fcc83a0 (commit)
	from  https://github.com/Gnucash/gnucash/commit/5acdbb6f (commit)



commit 4fcc83a02c512e78572543aab33ce537a71937f0
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Fri Oct 17 23:34:36 2014 +0200

    Add missing comma in call to gtk_tree_store_set().
    
    This was causing random crashes in the Debian package, see:
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764510
    
    Thanks to Frédéric Bière for finding and fixing the problem.

diff --git a/src/gnome/dialog-sx-since-last-run.c b/src/gnome/dialog-sx-since-last-run.c
index a230723..ebf6387 100644
--- a/src/gnome/dialog-sx-since-last-run.c
+++ b/src/gnome/dialog-sx-since-last-run.c
@@ -537,8 +537,8 @@ gsslrtma_populate_tree_store(GncSxSlrTreeModelAdapter *model)
                                            SLR_MODEL_COL_VARAIBLE_VALUE, tmp_str->str,
                                            SLR_MODEL_COL_INSTANCE_VISIBILITY, FALSE,
                                            SLR_MODEL_COL_VARIABLE_VISIBILITY, TRUE,
-                                           SLR_MODEL_COL_INSTANCE_STATE_SENSITIVITY, FALSE
-                                           - 1);
+                                           SLR_MODEL_COL_INSTANCE_STATE_SENSITIVITY, FALSE,
+                                           -1);
                         g_string_free(tmp_str, TRUE);
                     }
                     g_list_free(vars);



Summary of changes:
 src/gnome/dialog-sx-since-last-run.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list