mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Remove use of gncGetCurrentGroup().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5204 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
4c692441f3
commit
f70477cdb3
@ -641,9 +641,7 @@ gnc_find_or_create_equity_account (AccountGroup *group,
|
||||
g_return_val_if_fail (equity_type >= 0, NULL);
|
||||
g_return_val_if_fail (equity_type < NUM_EQUITY_TYPES, NULL);
|
||||
g_return_val_if_fail (currency != NULL, NULL);
|
||||
|
||||
if (!group)
|
||||
group = gncGetCurrentGroup ();
|
||||
g_return_val_if_fail (group != NULL, NULL);
|
||||
|
||||
base_name = equity_base_name (equity_type);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user