r18211 - gnucash/trunk/src/backend/sql - Replace GNCBook by QofBook
Phil Longstaff
plongstaff at code.gnucash.org
Thu Jul 16 18:18:33 EDT 2009
Author: plongstaff
Date: 2009-07-16 18:18:32 -0400 (Thu, 16 Jul 2009)
New Revision: 18211
Trac: http://svn.gnucash.org/trac/changeset/18211
Modified:
gnucash/trunk/src/backend/sql/gnc-book-sql.c
Log:
Replace GNCBook by QofBook
Modified: gnucash/trunk/src/backend/sql/gnc-book-sql.c
===================================================================
--- gnucash/trunk/src/backend/sql/gnc-book-sql.c 2009-07-14 22:26:10 UTC (rev 18210)
+++ gnucash/trunk/src/backend/sql/gnc-book-sql.c 2009-07-16 22:18:32 UTC (rev 18211)
@@ -72,7 +72,7 @@
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 @@
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 @@
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 @@
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 @@
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 );
More information about the gnucash-changes
mailing list