mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
remove bogus argument to Scrub functions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8131 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
413ff3ad12
commit
f2fdc583f6
@ -37,7 +37,6 @@
|
||||
#include "window-register.h"
|
||||
#include "Account.h"
|
||||
#include "AccWindow.h"
|
||||
#include "Scrub.h"
|
||||
#include "dialog-scheduledxaction.h"
|
||||
#include "dialog-sx-from-trans.h"
|
||||
#include "global-options.h"
|
||||
|
@ -653,8 +653,8 @@ gnc_acct_tree_window_menu_scrub_cb(GtkWidget * widget,
|
||||
|
||||
gnc_suspend_gui_refresh ();
|
||||
|
||||
xaccAccountScrubOrphans (account, gnc_get_current_book ());
|
||||
xaccAccountScrubImbalance (account, gnc_get_current_book ());
|
||||
xaccAccountScrubOrphans (account);
|
||||
xaccAccountScrubImbalance (account);
|
||||
|
||||
gnc_resume_gui_refresh ();
|
||||
}
|
||||
@ -675,8 +675,8 @@ gnc_acct_tree_window_menu_scrub_sub_cb(GtkWidget * widget,
|
||||
|
||||
gnc_suspend_gui_refresh ();
|
||||
|
||||
xaccAccountTreeScrubOrphans (account, gnc_get_current_book ());
|
||||
xaccAccountTreeScrubImbalance (account, gnc_get_current_book ());
|
||||
xaccAccountTreeScrubOrphans (account);
|
||||
xaccAccountTreeScrubImbalance (account);
|
||||
|
||||
gnc_resume_gui_refresh ();
|
||||
}
|
||||
@ -689,8 +689,8 @@ gnc_acct_tree_window_menu_scrub_all_cb(GtkWidget * widget,
|
||||
|
||||
gnc_suspend_gui_refresh ();
|
||||
|
||||
xaccGroupScrubOrphans (group, gnc_get_current_book ());
|
||||
xaccGroupScrubImbalance (group, gnc_get_current_book ());
|
||||
xaccGroupScrubOrphans (group);
|
||||
xaccGroupScrubImbalance (group);
|
||||
|
||||
gnc_resume_gui_refresh ();
|
||||
}
|
||||
|
@ -1190,8 +1190,8 @@ gnc_recn_scrub_cb(GtkWidget *widget, gpointer data)
|
||||
|
||||
gnc_suspend_gui_refresh ();
|
||||
|
||||
xaccAccountTreeScrubOrphans (account, gnc_get_current_book ());
|
||||
xaccAccountTreeScrubImbalance (account, gnc_get_current_book ());
|
||||
xaccAccountTreeScrubOrphans (account);
|
||||
xaccAccountTreeScrubImbalance (account);
|
||||
|
||||
gnc_resume_gui_refresh ();
|
||||
}
|
||||
|
@ -682,8 +682,8 @@ gnc_register_scrub_all_cb (GtkWidget *widget, gpointer data)
|
||||
Split *split = node->data;
|
||||
Transaction *trans = xaccSplitGetParent (split);
|
||||
|
||||
xaccTransScrubOrphans (trans, root, gnc_get_current_book ());
|
||||
xaccTransScrubImbalance (trans, root, NULL, gnc_get_current_book ());
|
||||
xaccTransScrubOrphans (trans, root);
|
||||
xaccTransScrubImbalance (trans, root, NULL);
|
||||
}
|
||||
|
||||
gnc_resume_gui_refresh ();
|
||||
@ -705,8 +705,8 @@ gnc_register_scrub_current_cb (GtkWidget *widget, gpointer data)
|
||||
|
||||
gnc_suspend_gui_refresh ();
|
||||
root = gnc_get_current_group ();
|
||||
xaccTransScrubOrphans (trans, root, gnc_get_current_book ());
|
||||
xaccTransScrubImbalance (trans, root, NULL, gnc_get_current_book ());
|
||||
xaccTransScrubOrphans (trans, root);
|
||||
xaccTransScrubImbalance (trans, root, NULL);
|
||||
gnc_resume_gui_refresh ();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user