mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
modify signature of xaccTransScrubOrphans routine
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8187 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
0865da3b4a
commit
2cb99c0b38
@ -682,7 +682,7 @@ gnc_register_scrub_all_cb (GtkWidget *widget, gpointer data)
|
||||
Split *split = node->data;
|
||||
Transaction *trans = xaccSplitGetParent (split);
|
||||
|
||||
xaccTransScrubOrphans (trans, root);
|
||||
xaccTransScrubOrphans (trans);
|
||||
xaccTransScrubImbalance (trans, root, NULL);
|
||||
}
|
||||
|
||||
@ -705,7 +705,7 @@ gnc_register_scrub_current_cb (GtkWidget *widget, gpointer data)
|
||||
|
||||
gnc_suspend_gui_refresh ();
|
||||
root = gnc_get_current_group ();
|
||||
xaccTransScrubOrphans (trans, root);
|
||||
xaccTransScrubOrphans (trans);
|
||||
xaccTransScrubImbalance (trans, root, NULL);
|
||||
gnc_resume_gui_refresh ();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user