From a028ae0f985f37399e86bdd40e9a6cdfd6fb15bb Mon Sep 17 00:00:00 2001 From: Mike Alexander Date: Sun, 31 Aug 2014 01:56:49 -0400 Subject: [PATCH] Finish implementing the "Show zero balance owners" filter option. It always showed nothing before. --- src/gnome-utils/gnc-tree-view-owner.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/gnome-utils/gnc-tree-view-owner.c b/src/gnome-utils/gnc-tree-view-owner.c index 7f93770e23..51d3cac2bb 100644 --- a/src/gnome-utils/gnc-tree-view-owner.c +++ b/src/gnome-utils/gnc-tree-view-owner.c @@ -1069,13 +1069,7 @@ gnc_plugin_page_owner_tree_filter_owners (GncOwner *owner, if (!fd->show_zero_total) { - /* FIXME I'm not aware of any functions to get an owner's "balance" yet. - * This should be implemented before this function does anything useful. - * The code below is copied from the tree-view-account source to serve - * as an example. - total = gncOwnerGetBalanceInCurrency (owner, NULL, TRUE); - */ - total = gnc_numeric_zero(); + total = gncOwnerGetBalanceInCurrency (owner, NULL); if (gnc_numeric_zero_p(total)) { LEAVE(" hide: zero balance");