diff --git a/gnucash/gnome/gnc-budget-view.c b/gnucash/gnome/gnc-budget-view.c index 697701fcea..3710196b35 100644 --- a/gnucash/gnome/gnc-budget-view.c +++ b/gnucash/gnome/gnc-budget-view.c @@ -161,10 +161,6 @@ struct GncBudgetViewPrivate GtkTreeViewColumn* total_col; AccountFilterDialog *fd; - Account* income; - Account* expenses; - Account* assets; - Account* liabilities; Account* rootAcct; GtkCellRenderer *temp_cr; @@ -235,29 +231,6 @@ gnc_budget_view_init(GncBudgetView *budget_view) priv->rootAcct = root; - for (i = 0; i < num_top_accounts; ++i) - { - Account* acc = gnc_account_nth_child(root, i); - GNCAccountType type = xaccAccountGetType(acc); - - if (type == ACCT_TYPE_ASSET) - { - priv->assets = acc; - } - else if (type == ACCT_TYPE_LIABILITY) - { - priv->liabilities = acc; - } - else if (type == ACCT_TYPE_INCOME) - { - priv->income = acc; - } - else if (type == ACCT_TYPE_EXPENSE) - { - priv->expenses = acc; - } - } - LEAVE(""); }