gnucash maint: disable recursion for balance and balance (usd)
Geert Janssens
gjanssens at code.gnucash.org
Sun Nov 1 07:22:15 EST 2015
Updated via https://github.com/Gnucash/gnucash/commit/4c0dbb17 (commit)
from https://github.com/Gnucash/gnucash/commit/21525713 (commit)
commit 4c0dbb17484276ce58cd6520f5784cd1180e3914
Author: root <root at phenom.dyweni.com>
Date: Thu Oct 22 11:31:51 2015 -0500
disable recursion for balance and balance (usd)
https://bugzilla.gnome.org/show_bug.cgi?id=647952
diff --git a/src/gnome-utils/gnc-tree-model-account.c b/src/gnome-utils/gnc-tree-model-account.c
index 0cb4dbf..12a8aa3 100644
--- a/src/gnome-utils/gnc-tree-model-account.c
+++ b/src/gnome-utils/gnc-tree-model-account.c
@@ -673,19 +673,19 @@ gnc_tree_model_account_get_value (GtkTreeModel *tree_model,
case GNC_TREE_MODEL_ACCOUNT_COL_BALANCE:
g_value_init (value, G_TYPE_STRING);
string = gnc_ui_account_get_print_balance(xaccAccountGetBalanceInCurrency,
- account, TRUE, &negative);
+ account, FALSE, &negative);
g_value_take_string (value, string);
break;
case GNC_TREE_MODEL_ACCOUNT_COL_BALANCE_REPORT:
g_value_init (value, G_TYPE_STRING);
string = gnc_ui_account_get_print_report_balance(xaccAccountGetBalanceInCurrency,
- account, TRUE, &negative);
+ account, FALSE, &negative);
g_value_take_string (value, string);
break;
case GNC_TREE_MODEL_ACCOUNT_COL_COLOR_BALANCE:
g_value_init (value, G_TYPE_STRING);
string = gnc_ui_account_get_print_balance(xaccAccountGetBalanceInCurrency,
- account, TRUE, &negative);
+ account, FALSE, &negative);
gnc_tree_model_account_set_color(model, negative, value);
g_free(string);
break;
Summary of changes:
src/gnome-utils/gnc-tree-model-account.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
More information about the gnucash-changes
mailing list