mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Replace GNCBook by QofBook
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18211 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
db7b310796
commit
7c926769c2
@ -72,7 +72,7 @@ static const GncSqlColumnTableEntry col_table[] =
|
||||
static /*@ dependent @*//*@ null @*/ gpointer
|
||||
get_root_account_guid( gpointer pObject )
|
||||
{
|
||||
GNCBook* book = QOF_BOOK(pObject);
|
||||
QofBook* book = QOF_BOOK(pObject);
|
||||
const Account* root;
|
||||
|
||||
g_return_val_if_fail( pObject != NULL, NULL );
|
||||
@ -85,7 +85,7 @@ get_root_account_guid( gpointer pObject )
|
||||
static void
|
||||
set_root_account_guid( gpointer pObject, /*@ null @*/ gpointer pValue )
|
||||
{
|
||||
GNCBook* book = QOF_BOOK(pObject);
|
||||
QofBook* book = QOF_BOOK(pObject);
|
||||
const Account* root;
|
||||
GUID* guid = (GUID*)pValue;
|
||||
|
||||
@ -100,7 +100,7 @@ set_root_account_guid( gpointer pObject, /*@ null @*/ gpointer pValue )
|
||||
static /*@ dependent @*//*@ null @*/ gpointer
|
||||
get_root_template_guid( gpointer pObject )
|
||||
{
|
||||
const GNCBook* book = QOF_BOOK(pObject);
|
||||
const QofBook* book = QOF_BOOK(pObject);
|
||||
const Account* root;
|
||||
|
||||
g_return_val_if_fail( pObject != NULL, NULL );
|
||||
@ -113,7 +113,7 @@ get_root_template_guid( gpointer pObject )
|
||||
static void
|
||||
set_root_template_guid( gpointer pObject, /*@ null @*/ gpointer pValue )
|
||||
{
|
||||
GNCBook* book = QOF_BOOK(pObject);
|
||||
QofBook* book = QOF_BOOK(pObject);
|
||||
GUID* guid = (GUID*)pValue;
|
||||
Account* root;
|
||||
|
||||
@ -137,7 +137,7 @@ static void
|
||||
load_single_book( GncSqlBackend* be, GncSqlRow* row )
|
||||
{
|
||||
const GUID* guid;
|
||||
GNCBook* pBook;
|
||||
QofBook* pBook;
|
||||
|
||||
g_return_if_fail( be != NULL );
|
||||
g_return_if_fail( row != NULL );
|
||||
|
Loading…
Reference in New Issue
Block a user