mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix ACCOUNT_NSCU Qof Param getter.
* src/engine/Account.c: This patch fixes: (QofAccessFunc)xaccAccountSetNonStdSCU in src/engine/Account.c - that's a Set routine allocated as a QofAccessFunc - the patch changes it to the appropriate Get routine - the QofSetterFunc is OK. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10439 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
fd5ffd6e1d
commit
46cac7318c
@ -2887,7 +2887,7 @@ gboolean xaccAccountRegister (void)
|
||||
{ ACCOUNT_FUTURE_MINIMUM_, QOF_TYPE_NUMERIC, (QofAccessFunc)xaccAccountGetProjectedMinimumBalance, NULL },
|
||||
{ ACCOUNT_TAX_RELATED, QOF_TYPE_BOOLEAN, (QofAccessFunc)xaccAccountGetTaxRelated, (QofSetterFunc) xaccAccountSetTaxRelated },
|
||||
{ ACCOUNT_SCU, QOF_TYPE_INT32, (QofAccessFunc)xaccAccountGetCommoditySCU, (QofSetterFunc)xaccAccountSetCommoditySCU },
|
||||
{ ACCOUNT_NSCU, QOF_TYPE_BOOLEAN, (QofAccessFunc)xaccAccountSetNonStdSCU, (QofSetterFunc)xaccAccountSetNonStdSCU },
|
||||
{ ACCOUNT_NSCU, QOF_TYPE_BOOLEAN, (QofAccessFunc)xaccAccountGetNonStdSCU, (QofSetterFunc)xaccAccountSetNonStdSCU },
|
||||
{ ACCOUNT_PARENT, GNC_ID_ACCOUNT, (QofAccessFunc)xaccAccountGetParentAccount, (QofSetterFunc)qofAccountSetParent },
|
||||
{ QOF_PARAM_BOOK, QOF_ID_BOOK, (QofAccessFunc)qof_instance_get_book, NULL },
|
||||
{ QOF_PARAM_GUID, QOF_TYPE_GUID, (QofAccessFunc)qof_instance_get_guid, NULL },
|
||||
|
Loading…
Reference in New Issue
Block a user